org.sonatype.aether.impl
Enum LocalRepositoryEvent.EventType
java.lang.Object
java.lang.Enum<LocalRepositoryEvent.EventType>
org.sonatype.aether.impl.LocalRepositoryEvent.EventType
- All Implemented Interfaces:
- Serializable, Comparable<LocalRepositoryEvent.EventType>
- Enclosing interface:
- LocalRepositoryEvent
public static enum LocalRepositoryEvent.EventType
- extends Enum<LocalRepositoryEvent.EventType>
The type of the event.
ARTIFACT_INSTALLED
public static final LocalRepositoryEvent.EventType ARTIFACT_INSTALLED
ARTIFACT_DOWNLOADED
public static final LocalRepositoryEvent.EventType ARTIFACT_DOWNLOADED
values
public static LocalRepositoryEvent.EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LocalRepositoryEvent.EventType c : LocalRepositoryEvent.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LocalRepositoryEvent.EventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.