org.glassfish.paas.orchestrator.service
Enum ServiceStatus

java.lang.Object
  extended by java.lang.Enum<ServiceStatus>
      extended by org.glassfish.paas.orchestrator.service.ServiceStatus
All Implemented Interfaces:
Serializable, Comparable<ServiceStatus>

public enum ServiceStatus
extends Enum<ServiceStatus>


Enum Constant Summary
NOT_RUNNING
           
RUNNING
           
START_IN_PROGRESS
           
STARTED
           
STARTING
           
STOP_IN_PROGRESS
           
STOPPED
           
STOPPING
           
UNINITIALIZED
           
UNKNOWN
           
 
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.
 
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

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
Method Detail

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.