org.sonatype.aether.impl
Enum LocalRepositoryEvent.EventType

java.lang.Object
  extended by java.lang.Enum<LocalRepositoryEvent.EventType>
      extended by 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.


Enum Constant Summary
ARTIFACT_DOWNLOADED
           
ARTIFACT_INSTALLED
           
 
Method Summary
static LocalRepositoryEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LocalRepositoryEvent.EventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARTIFACT_INSTALLED

public static final LocalRepositoryEvent.EventType ARTIFACT_INSTALLED

ARTIFACT_DOWNLOADED

public static final LocalRepositoryEvent.EventType ARTIFACT_DOWNLOADED
Method Detail

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-2012. All Rights Reserved.