public class CommandType extends Object
Modifier and Type | Field and Description |
---|---|
static CommandType |
DISTRIBUTE
The command type for an DISTRIBUTE
|
static CommandType |
REDEPLOY
The module type for an REDEPLOY
|
static CommandType |
START
The command type for an START
|
static CommandType |
STOP
The command type for an STOP
|
static CommandType |
UNDEPLOY
The command type for an UNDEPLOY
|
Modifier | Constructor and Description |
---|---|
protected |
CommandType(int value)
Create a new CommandType
|
Modifier and Type | Method and Description |
---|---|
static CommandType |
getCommandType(int type)
Get the command type for an integer
|
protected CommandType[] |
getEnumValueTable()
Get the enumerated values for module type
|
protected int |
getOffset()
Return the offset of the first element
|
protected String[] |
getStringTable()
Get the string table for class command type
[todo] check this?
|
int |
getValue()
Get the value
|
String |
toString() |
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
protected CommandType(int value)
value
- the valuepublic int getValue()
protected String[] getStringTable()
protected CommandType[] getEnumValueTable()
public static CommandType getCommandType(int type)
type
- the typeprotected int getOffset()
Copyright © 2018 JBoss by Red Hat. All rights reserved.