public class StateType extends Object
Modifier and Type | Field and Description |
---|---|
static StateType |
COMPLETED
The state type for an COMPLETED
|
static StateType |
FAILED
The state type for an FAILED
|
static StateType |
RELEASED
The state type for an RELEASED
|
static StateType |
RUNNING
The state type for an RUNNING
|
Modifier | Constructor and Description |
---|---|
protected |
StateType(int value)
Create a new StateType
|
Modifier and Type | Method and Description |
---|---|
protected StateType[] |
getEnumValueTable()
Get the enumerated values for module type
|
protected int |
getOffset()
Return the offset of the first element
|
static StateType |
getStateType(int type)
Get the state type for an integer
|
protected String[] |
getStringTable()
Get the string table for class command type
[todo] check this?
|
int |
getValue()
Get the value
|
String |
toString() |
public static final StateType RUNNING
public static final StateType COMPLETED
public static final StateType FAILED
public static final StateType RELEASED
protected StateType(int value)
value
- the valuepublic int getValue()
protected String[] getStringTable()
protected StateType[] getEnumValueTable()
public static StateType getStateType(int type)
type
- the typeprotected int getOffset()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.