Top Description Fields Constructors Methods
javax.enterprise.deploy.shared

public Class StateType

extends Object
Class Inheritance

Class StateTypes defines enumeration values for the DeploymentStatus object.
Author
rsearls

Field Summary

Modifier and TypeField and Description
public static final StateType
COMPLETED

The action operation has completed normally.

private static final StateType[]
public static final StateType
FAILED

The action operation has failed.

public static final StateType
RELEASED

The DeploymentManager is running in discommected mode.

public static final StateType
RUNNING

The action operation is running normally.

private static final String[]
private int

Constructor Summary

AccessConstructor and Description
protected
StateType(int
Integer value.
value
)

Construct a new enumeration value with the given integer value.

Method Summary

Modifier and TypeMethod and Description
protected StateType[]
getEnumValueTable()

Returns the enumeration value table for class StateType

protected int

Returns:

the offset of the lowest enumeration value.
getOffset
()

Returns the lowest integer value used by this enumeration value's enumeration class.

public static StateType
getStateType(int
a designator for the object.
value
)

Return an object of the specified value.

protected String[]
getStringTable()

Returns the string table for class StateType

public int

Returns:

the value
getValue
()

Returns this enumeration value's integer value.

public String
toString()

Overrides java.lang.Object.toString.

Return the string name of this StateType or the integer value if outside the bounds of the table
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

COMPLETEDback to summary
public static final StateType COMPLETED

The action operation has completed normally.

enumValueTableback to summary
private static final StateType[] enumValueTable
FAILEDback to summary
public static final StateType FAILED

The action operation has failed.

RELEASEDback to summary
public static final StateType RELEASED

The DeploymentManager is running in discommected mode.

RUNNINGback to summary
public static final StateType RUNNING

The action operation is running normally.

stringTableback to summary
private static final String[] stringTable
valueback to summary
private int value

Constructor Detail

StateTypeback to summary
protected StateType(int value)

Construct a new enumeration value with the given integer value.

Parameters
value:int

Integer value.

Method Detail

getEnumValueTableback to summary
protected StateType[] getEnumValueTable()

Returns the enumeration value table for class StateType

getOffsetback to summary
protected int getOffset()

Returns the lowest integer value used by this enumeration value's enumeration class.

The default implementation returns 0.

Returns:int

the offset of the lowest enumeration value.

getStateTypeback to summary
public static StateType getStateType(int value)

Return an object of the specified value.

Parameters
value:int

a designator for the object.

getStringTableback to summary
protected String[] getStringTable()

Returns the string table for class StateType

getValueback to summary
public int getValue()

Returns this enumeration value's integer value.

Returns:int

the value

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Return the string name of this StateType or the integer value if outside the bounds of the table

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object.