Fields Summary |
---|
private int | value |
public static final StateType | RUNNINGThe action operation is running normally. |
public static final StateType | COMPLETEDThe action operation has completed normally. |
public static final StateType | FAILEDThe action operation has failed. |
public static final StateType | RELEASEDThe DeploymentManager is running in discommected mode. |
private static final String[] | stringTable |
private static final StateType[] | enumValueTable |
Methods Summary |
---|
protected javax.enterprise.deploy.shared.StateType[] | getEnumValueTable()Returns the enumeration value table for class StateType
return enumValueTable;
|
protected int | getOffset()Returns the lowest integer value used by this enumeration value's
enumeration class.
The default implementation returns 0. return 0;
|
public static javax.enterprise.deploy.shared.StateType | getStateType(int value)Return an object of the specified value. return enumValueTable[value];
|
protected java.lang.String[] | getStringTable()Returns the string table for class StateType
return stringTable;
|
public int | getValue()Returns this enumeration value's integer value. return value;
|
public java.lang.String | toString()Return the string name of this StateType or the
integer value if outside the bounds of the table
String[] strTable = getStringTable();
int index = value - getOffset();
if (strTable != null && index >= 0 && index < strTable.length)
return strTable[index];
else
return Integer.toString (value);
|