org.glassfish.paas.orchestrator.service.spi
Enum ServiceChangeEvent.Type
java.lang.Object
java.lang.Enum<ServiceChangeEvent.Type>
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>
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
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.