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

public Class CommandType

extends Object
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
public static final CommandType
DISTRIBUTE

The DeploymentManger action operation being processed is distribute.

private static final CommandType[]
public static final CommandType
REDEPLOY

The DeploymentManger action operation being processed is redeploy.

public static final CommandType
START

The DeploymentManger action operation being processed is start.

public static final CommandType
STOP

The DeploymentManger action operation being processed is stop.

private static final String[]
public static final CommandType
UNDEPLOY

The DeploymentManger action operation being processed is undeploy.

private int

Constructor Summary

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

Construct a new enumeration value with the given integer value.

Method Summary

Modifier and TypeMethod and Description
public static CommandType
getCommandType(int
a designator for the object.
value
)

Return an object of the specified value.

protected CommandType[]
getEnumValueTable()

Returns the enumeration value table for class CommandType

protected int

Returns:

the offset of the lowest enumeration value.
getOffset
()

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

protected String[]
getStringTable()

Returns the string table for class CommandType

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 CommandType or the integer value if outside the bounds of the table
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

DISTRIBUTEback to summary
public static final CommandType DISTRIBUTE

The DeploymentManger action operation being processed is distribute.

enumValueTableback to summary
private static final CommandType[] enumValueTable
REDEPLOYback to summary
public static final CommandType REDEPLOY

The DeploymentManger action operation being processed is redeploy.

STARTback to summary
public static final CommandType START

The DeploymentManger action operation being processed is start.

STOPback to summary
public static final CommandType STOP

The DeploymentManger action operation being processed is stop.

stringTableback to summary
private static final String[] stringTable
UNDEPLOYback to summary
public static final CommandType UNDEPLOY

The DeploymentManger action operation being processed is undeploy.

valueback to summary
private int value

Constructor Detail

CommandTypeback to summary
protected CommandType(int value)

Construct a new enumeration value with the given integer value.

Parameters
value:int

Integer value.

Method Detail

getCommandTypeback to summary
public static CommandType getCommandType(int value)

Return an object of the specified value.

Parameters
value:int

a designator for the object.

getEnumValueTableback to summary
protected CommandType[] getEnumValueTable()

Returns the enumeration value table for class CommandType

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.

getStringTableback to summary
protected String[] getStringTable()

Returns the string table for class CommandType

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 CommandType 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.