An enumeration of deployment commands.
Field Summary |
---|
public static final CommandType | DISTRIBUTE | The command type for an DISTRIBUTE |
public static final CommandType | START | The command type for an START |
public static final CommandType | STOP | The command type for an STOP |
public static final CommandType | UNDEPLOY | The command type for an UNDEPLOY |
public static final CommandType | REDEPLOY | The module type for an REDEPLOY |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.enterprise.deploy.shared.CommandType Detail: |
public static CommandType getCommandType(int type) {
if (type >= commandTypes.length)
return null;
return commandTypes[type];
}
Get the command type for an integer |
protected CommandType[] getEnumValueTable() {
return commandTypes;
}
Get the enumerated values for module type |
protected int getOffset() {
return DISTRIBUTE_INT;
}
Return the offset of the first element |
protected String[] getStringTable() {
return commandDescs;
}
Get the string table for class command type
[todo] check this? |
public int getValue() {
return value;
}
|
public String toString() {
return commandDescs[value];
}
|