com.caucho.lifecycle
Enum LifecycleState

java.lang.Object
  extended by java.lang.Enum<LifecycleState>
      extended by com.caucho.lifecycle.LifecycleState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LifecycleState>

public enum LifecycleState
extends java.lang.Enum<LifecycleState>

Lifecycle constants.


Enum Constant Summary
ACTIVE
           
DESTROYED
           
DESTROYING
           
FAILED
           
INIT
           
INITIALIZING
           
NEW
           
STANDBY
           
STARTING
           
STOPPED
           
STOPPED_IDLE
           
STOPPING
           
WARMUP
           
 
Method Summary
 int getState()
           
 java.lang.String getStateName()
           
 boolean isActive()
           
 boolean isAfterActive()
           
 boolean isAfterDestroying()
           
 boolean isAfterInit()
           
 boolean isAfterStarting()
           
 boolean isAfterStopping()
           
 boolean isAllowStopFromRestart()
           
 boolean isBeforeActive()
           
 boolean isBeforeInit()
           
 boolean isDestroyed()
           
 boolean isDestroying()
           
 boolean isError()
           
 boolean isIdle()
           
 boolean isInit()
           
 boolean isInitializing()
           
 boolean isRunnable()
           
 boolean isStarting()
           
 boolean isStopped()
           
 boolean isStoppedIdle()
           
 boolean isStopping()
           
 boolean isWarmup()
           
static LifecycleState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LifecycleState[] 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

NEW

public static final LifecycleState NEW

INITIALIZING

public static final LifecycleState INITIALIZING

INIT

public static final LifecycleState INIT

STARTING

public static final LifecycleState STARTING

STANDBY

public static final LifecycleState STANDBY

STOPPED_IDLE

public static final LifecycleState STOPPED_IDLE

WARMUP

public static final LifecycleState WARMUP

ACTIVE

public static final LifecycleState ACTIVE

FAILED

public static final LifecycleState FAILED

STOPPING

public static final LifecycleState STOPPING

STOPPED

public static final LifecycleState STOPPED

DESTROYING

public static final LifecycleState DESTROYING

DESTROYED

public static final LifecycleState DESTROYED
Method Detail

values

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

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

valueOf

public static LifecycleState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getState

public int getState()

getStateName

public java.lang.String getStateName()

isBeforeInit

public boolean isBeforeInit()

isInitializing

public boolean isInitializing()

isInit

public boolean isInit()

isAfterInit

public boolean isAfterInit()

isStoppedIdle

public boolean isStoppedIdle()

isIdle

public boolean isIdle()

isStarting

public boolean isStarting()

isAfterStarting

public boolean isAfterStarting()

isBeforeActive

public boolean isBeforeActive()

isWarmup

public boolean isWarmup()

isAfterActive

public boolean isAfterActive()

isActive

public boolean isActive()

isRunnable

public boolean isRunnable()

isError

public boolean isError()

isStopping

public boolean isStopping()

isAfterStopping

public boolean isAfterStopping()

isAllowStopFromRestart

public boolean isAllowStopFromRestart()

isStopped

public boolean isStopped()

isDestroying

public boolean isDestroying()

isAfterDestroying

public boolean isAfterDestroying()

isDestroyed

public boolean isDestroyed()