org.glassfish.paas.orchestrator.service
Enum ServiceStatus
java.lang.Object
java.lang.Enum<ServiceStatus>
org.glassfish.paas.orchestrator.service.ServiceStatus
- All Implemented Interfaces:
- Serializable, Comparable<ServiceStatus>
public enum ServiceStatus
- extends Enum<ServiceStatus>
|
Method Summary |
static ServiceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UNKNOWN
public static final ServiceStatus UNKNOWN
UNINITIALIZED
public static final ServiceStatus UNINITIALIZED
STARTING
public static final ServiceStatus STARTING
STARTED
public static final ServiceStatus STARTED
STOPPING
public static final ServiceStatus STOPPING
STOPPED
public static final ServiceStatus STOPPED
RUNNING
public static final ServiceStatus RUNNING
NOT_RUNNING
public static final ServiceStatus NOT_RUNNING
START_IN_PROGRESS
public static final ServiceStatus START_IN_PROGRESS
STOP_IN_PROGRESS
public static final ServiceStatus STOP_IN_PROGRESS
values
public static ServiceStatus[] 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 (ServiceStatus c : ServiceStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ServiceStatus 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.