org.glassfish.paas.orchestrator.service.spi
Enum ServiceChangeEvent.Type

java.lang.Object
  extended by java.lang.Enum<ServiceChangeEvent.Type>
      extended by org.glassfish.paas.orchestrator.service.spi.ServiceChangeEvent.Type
All Implemented Interfaces:
Serializable, Comparable<ServiceChangeEvent.Type>
Enclosing class:
ServiceChangeEvent

public static enum ServiceChangeEvent.Type
extends Enum<ServiceChangeEvent.Type>


Enum Constant Summary
CREATED
           
DELETED
           
MODIFIED
           
STARTED
           
STOPPED
           
 
Method Summary
static ServiceChangeEvent.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServiceChangeEvent.Type[] 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

CREATED

public static final ServiceChangeEvent.Type CREATED

DELETED

public static final ServiceChangeEvent.Type DELETED

STARTED

public static final ServiceChangeEvent.Type STARTED

STOPPED

public static final ServiceChangeEvent.Type STOPPED

MODIFIED

public static final ServiceChangeEvent.Type MODIFIED
Method Detail

values

public static ServiceChangeEvent.Type[] 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 (ServiceChangeEvent.Type c : ServiceChangeEvent.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ServiceChangeEvent.Type 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 © 2012. All Rights Reserved.