|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.enterprise.deploy.shared.CommandType
public class CommandType
Class CommandTypes defines enumeration values for the DeploymentStatus object.
Field Summary | |
---|---|
static CommandType |
DISTRIBUTE
The DeploymentManger action operation being processed is distribute. |
static CommandType |
REDEPLOY
The DeploymentManger action operation being processed is redeploy. |
static CommandType |
START
The DeploymentManger action operation being processed is start. |
static CommandType |
STOP
The DeploymentManger action operation being processed is stop. |
static CommandType |
UNDEPLOY
The DeploymentManger action operation being processed is undeploy. |
Constructor Summary | |
---|---|
protected |
CommandType(int value)
Construct a new enumeration value with the given integer value. |
Method Summary | |
---|---|
static CommandType |
getCommandType(int value)
Return an object of the specified value. |
protected CommandType[] |
getEnumValueTable()
Returns the enumeration value table for class CommandType |
protected int |
getOffset()
Returns the lowest integer value used by this enumeration value's enumeration class. |
protected String[] |
getStringTable()
Returns the string table for class CommandType |
int |
getValue()
Returns this enumeration value's integer value. |
String |
toString()
Return the string name of this CommandType or the integer value if outside the bounds of the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CommandType DISTRIBUTE
public static final CommandType START
public static final CommandType STOP
public static final CommandType UNDEPLOY
public static final CommandType REDEPLOY
Constructor Detail |
---|
protected CommandType(int value)
value
- Integer value.Method Detail |
---|
public int getValue()
protected String[] getStringTable()
protected CommandType[] getEnumValueTable()
public static CommandType getCommandType(int value)
value
- a designator for the object.public String toString()
protected int getOffset()
The default implementation returns 0.
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.