public final class State extends Enum
Modifier and Type | Field and Description |
---|---|
static State |
BLOCKED
Request execution is blocked by one or more incompatible requests.
|
static State |
CANCELLED
The request was cancelled.
|
static State |
CANCELLING
The request has been cancelled and is awaiting acknowledgement.
|
static State |
COMPLETED
Job executable has completed and request post-processing has commenced.
|
static State |
ERROR
Request processing resulted in error.
|
static State |
ERROR_AUTO_RETRY
The request ran, resulted in an error, and is eligible for automatic
retry.
|
static State |
ERROR_MANUAL_RECOVERY
The request requires manual intervention in order to be retried or
go to a terminal state.
|
static State |
EXPIRED
The request expired before it could be processed.
|
static State |
FINISHED
The request, and all child requests, are finished.
|
static State |
HOLD
Request has been explicitly held.
|
static State |
PAUSED
The request paused for sub-request completion.
|
static State |
PENDING_VALIDATION
The request has been submitted but not yet validated.
|
static State |
READY
Request has been dispatched and is awaiting processing.
|
static State |
RUNNING
Request is being processed.
|
static State |
SCHEDULE_ENDED
The schedule for the request has ended, or a request expiration time
specified at request submission has been reached.
|
static State |
SUCCEEDED
The request ran and was successful.
|
static State |
UNKNOWN
Unknown or invalid state.
|
static State |
VALIDATION_FAILED
The request was submitted but failed validation.
|
static State |
WAIT
Request is awaiting dispatch.
|
static State |
WARNING
The request ran and resulted in a warning.
|
Modifier and Type | Method and Description |
---|---|
static State |
fromString(String stateStr)
Converts a stringified state into a State object.
|
static EnumSet |
getNonTerminalStates()
The set of the non-terminal states based on the value returned
by
isTerminal . |
static State |
getState(int value)
The State associated with the given numeric value.
|
static EnumSet |
getTerminalStates()
The set of the terminal states based on the value returned
by
isTerminal . |
boolean |
isTerminal()
Indicates if the state is a terminal state.
|
String |
toString(Locale locale)
Enterprise Manager support to acquire a localized string value.
|
int |
value()
The numeric value associated with the State.
|
static State |
valueOf(String name) |
static State[] |
values() |
public static final State UNKNOWN
public static final State WAIT
public static final State READY
public static final State RUNNING
public static final State COMPLETED
public static final State BLOCKED
public static final State HOLD
public static final State CANCELLING
public static final State EXPIRED
public static final State CANCELLED
public static final State ERROR
public static final State WARNING
public static final State SUCCEEDED
public static final State PAUSED
public static final State PENDING_VALIDATION
public static final State VALIDATION_FAILED
public static final State SCHEDULE_ENDED
This is a non-terminal state for a schedule-based request that indicates that no new child request will be generated. One or more child requests may still be in a non-terminal state.
public static final State FINISHED
This is a terminal state for a schedule-based request that indicates that all child requests are in a terminal state.
public static final State ERROR_AUTO_RETRY
public static final State ERROR_MANUAL_RECOVERY
public static State[] values()
public boolean isTerminal()
public int value()
public static State getState(int value)
value
- the value to convert to state.public static EnumSet getTerminalStates()
isTerminal
.public static EnumSet getNonTerminalStates()
isTerminal
.public static State fromString(String stateStr)
stateStr
- the string to convertstateStr
,
or {State.UNKNOWN} if the conversion could not be made.