public class State extends Enumerated
Modifier and Type | Field and Description |
---|---|
static State |
STATE_ABORTING
The Aborting state.
|
static State |
STATE_ACTIVE
The Active state.
|
static State |
STATE_COMMITTING
The Committing state.
|
static State |
STATE_PREPARED
The Prepared state.
|
static State |
STATE_PREPARED_SUCCESS
The PreparedSuccess state.
|
static State |
STATE_PREPARING
The Preparing state.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Get the value of this enumeration.
|
protected Enumerated |
resolveEnum(Object value)
Resolve the enumeration for the specified value.
|
static State |
toState11(String value)
Return the enumeration for the specified value.
|
equals, generateMap, getKey, hashCode, readResolve, toString
public static final State STATE_ACTIVE
public static final State STATE_PREPARING
public static final State STATE_PREPARED
public static final State STATE_PREPARED_SUCCESS
public static final State STATE_COMMITTING
public static final State STATE_ABORTING
public String getValue()
protected Enumerated resolveEnum(Object value) throws InvalidEnumerationException
resolveEnum
in class Enumerated
value
- The value.InvalidEnumerationException
- if the value is not valid.public static State toState11(String value) throws InvalidEnumerationException
value
- The value.InvalidEnumerationException
- if the value is not valid.Copyright © 2017 JBoss by Red Hat. All rights reserved.