|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.1) E26229-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Object
java.lang.Enum<State>
oracle.as.scheduler.State
public enum State
Enumeration of ESS request terminal states.
| Enum Constant Summary | |
|---|---|
BLOCKEDRequest is blocked by one or more incompatible requests. |
|
CANCELLEDThe request was cancelled. |
|
CANCELLINGThe request has been cancelled and is awaiting acknowledgement. |
|
COMPLETEDRequest has completed and post-processing has commenced. |
|
ERRORThe request ran and resulted in error. |
|
ERROR_AUTO_RETRYThe request ran, resulted in an error, and is eligible for automatic retry. |
|
ERROR_MANUAL_RECOVERYThe request requires manual intervention in order to be retried or go to a terminal state. |
|
EXPIREDThe request expired before it could be processed. |
|
FINISHEDThe request, and all child requests, are finished. |
|
HOLDRequest has been explicitly held. |
|
PAUSEDThe request paused for sub-request completion. |
|
PENDING_VALIDATIONThe request has been submitted but not validated. |
|
READYRequest has been dispatched and is awaiting processing. |
|
RUNNINGRequest is being processed. |
|
SCHEDULE_ENDEDThe schedule for the request has ended, or a request expiration time specified at request submission has been reached. |
|
SUCCEEDEDThe request ran and was successful. |
|
UNKNOWNUnknown or invalid state. |
|
VALIDATION_FAILEDThe request was submitted but validation failed. |
|
WAITRequest is awaiting dispatch. |
|
WARNINGThe request ran and resulted in a warning. |
|
| Method Summary | |
|---|---|
static State |
from(javax.management.openmbean.CompositeData cd) |
static State |
fromString(java.lang.String stateStr)Converts a stringified state into a State object. |
static State |
getState(int value)Returns the state for the numeric value specified. |
static java.util.EnumSet<State> |
getTerminalStates()Returns a set of the terminal states based on the value returned by State.isTerminal. |
boolean |
isTerminal()Used to determine if the state is a terminal state. |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct) |
static javax.management.openmbean.CompositeType |
toCompositeType()Returns the CompositeType that describes this model specific class |
java.lang.String |
toString(java.util.Locale locale) |
int |
value()Returns the numeric value for the state. |
static State |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static State[] |
values()Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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 or trigger-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 or trigger-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
| Method Detail |
|---|
public static State[] values()
for (State c : State.values())
System.out.println(c);
public static State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isTerminal()
public int value()
public static State getState(int value)
value - to convert to state.public static java.util.EnumSet<State> getTerminalStates()
State.isTerminal.public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
public static State from(javax.management.openmbean.CompositeData cd)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static State fromString(java.lang.String stateStr)
stateStr -stateStr or State.UNKNOWN if the conversion could not be made.public java.lang.String toString(java.util.Locale locale)
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.1) E26229-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||