|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.supervisor.api.BladeState
public class BladeState
Representation of a blade state
Field Summary | |
---|---|
static BladeState |
ABORTED
|
static BladeState |
COMPLETED
|
static BladeState |
DEPLOYED
|
static BladeState |
DEPLOYING
|
static BladeState |
INCOHERENT
|
static BladeState |
INITIALIZED
|
static BladeState |
INITIALIZING
|
static BladeState |
NONE
|
static BladeState |
RESUMING
|
static BladeState |
RUNNING
|
static BladeState |
STARTING
|
static BladeState |
STOPPED
|
static BladeState |
STOPPING
|
static BladeState |
SUSPENDED
|
static BladeState |
SUSPENDING
|
static BladeState |
UNDEPLOYED
|
Constructor Summary | |
---|---|
protected |
BladeState(java.lang.String label)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
equality is based on the state code value |
static BladeState |
get(int code)
|
int |
getCode()
|
static BladeState |
getGlobalState(java.util.Collection<BladeState> states)
Return the global state for a collection of state |
static boolean |
isRunning(java.util.Collection<BladeState> states)
Determine if the global state is running. |
static boolean |
isStationaryState(java.util.Collection<BladeState> states)
Determine if the globalState is a stationary state or a transient state. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final BladeState UNDEPLOYED
public static final BladeState DEPLOYING
public static final BladeState DEPLOYED
public static final BladeState INITIALIZING
public static final BladeState INITIALIZED
public static final BladeState STARTING
public static final BladeState RUNNING
public static final BladeState SUSPENDING
public static final BladeState SUSPENDED
public static final BladeState RESUMING
public static final BladeState COMPLETED
public static final BladeState STOPPING
public static final BladeState STOPPED
public static final BladeState ABORTED
public static final BladeState INCOHERENT
public static final BladeState NONE
Constructor Detail |
---|
protected BladeState(java.lang.String label)
Method Detail |
---|
public static BladeState get(int code)
public static BladeState getGlobalState(java.util.Collection<BladeState> states)
states
- The collection of states.
public java.lang.String toString()
toString
in class java.lang.Object
public int getCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static boolean isStationaryState(java.util.Collection<BladeState> states)
states
- Collection of states
public static boolean isRunning(java.util.Collection<BladeState> states)
states
- Collection of states
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |