javax.enterprise.deploy.shared
public class: StateType [javadoc |
source]
java.lang.Object
javax.enterprise.deploy.shared.StateType
An enumeration of deployment states.
Field Summary |
---|
public static final StateType | RUNNING | The state type for an RUNNING |
public static final StateType | COMPLETED | The state type for an COMPLETED |
public static final StateType | FAILED | The state type for an FAILED |
public static final StateType | RELEASED | The state type for an RELEASED |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.enterprise.deploy.shared.StateType Detail: |
protected StateType[] getEnumValueTable() {
return stateTypes;
}
Get the enumerated values for module type |
protected int getOffset() {
return RUNNING_INT;
}
Return the offset of the first element |
public static StateType getStateType(int type) {
if (type >= stateTypes.length)
return null;
return stateTypes[type];
}
Get the state type for an integer |
protected String[] getStringTable() {
return stateDescs;
}
Get the string table for class command type
[todo] check this? |
public int getValue() {
return value;
}
|
public String toString() {
return stateDescs[value];
}
|