|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<RequestType>
oracle.as.scheduler.RequestType
public enum RequestType
Enum of request types.
The request type is established when a request is first created and does not change, except for an unvalidated request where the request type is set to the appropriate type once validation is done. An unvalidated request has PENDING_VALIDATION
state until it is validated. If validation fails, the request state is set to VALIDATION_FAILED
and the request type is not changed.
Some requests serve as both an absolute parent and instance parent; for example, SINGLETON
. Some requests serve as an absolute parent but not an instance parent; for example, RECUR_PARENT
. Some requests serve as an instance parent but not an absolute parent; for example, RECUR_CHILD
. Other requests are neither an absolute nor an instance parent; for example, SUBREQUEST
. An UNVALIDATED_REQUEST
request would always be an absolute parent once it is validated, but cannot determine if it might also be an instance parent until it is successfully validatedd.
State
Enum Constant Summary | |
---|---|
JOBSET_RECUR_CHILD Child request generated from a Schedule associated with a submitted JobSet request. |
|
JOBSET_RECUR_PARENT JobSet recurring parent request. |
|
JOBSET_SINGLETON JobSet singleton request. |
|
JOBSET_STEP JobSet step request. |
|
JOBSET_TRIGGER_CHILD Child request generated from a Trigger associated with a submitted JobSet request. |
|
RECUR_CHILD Child request generated from a Schedule associated with a submitted regular (non-JobSet) request. |
|
RECUR_PARENT Regular (non-JobSet) recurring parent request. |
|
SINGLETON Regular (non-JobSet) singleton request. |
|
SUB_REQUEST Sub-request. |
|
TRIGGER_CHILD Child request generated from a Trigger associated with a submitted regular (non-JobSet) request. |
|
UNKNOWN Unknown or invalid request type |
|
UNVALIDATED_REQUEST Unvalidated request. |
|
UNVALIDATED_SUB_REQUEST Unvalidated sub-request. |
Method Summary | |
---|---|
static RequestType |
from(javax.management.openmbean.CompositeData cd) |
static RequestType |
fromString(java.lang.String requestTypeStr) Converts a stringified request type into a RequestType object. |
static RequestType |
getType(int value) Returns the RequestType associated with a numeric value. |
boolean |
isAbsoluteParent() Indicates if this request type represents an absolute parent request. |
boolean |
isInstanceParent() Indicates if this request type represents an instance parent request. |
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 type associated with this RequestType. |
static RequestType |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static RequestType[] |
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 RequestType UNKNOWN
public static final RequestType SINGLETON
public static final RequestType RECUR_PARENT
The generated child request type will be one of: RECUR_CHILD
, TRIGGER_CHILD
public static final RequestType RECUR_CHILD
The parent request type will be RECUR_PARENT
.
public static final RequestType JOBSET_SINGLETON
public static final RequestType JOBSET_STEP
The parent request type will be one of: JOBSET_SINGLETON
, JOBSET_RECUR_CHILD
, JOBSET_TRIGGER_CHILD
, JOBSET_STEP
public static final RequestType JOBSET_RECUR_PARENT
The generated child request type will be one of: JOBSET_RECUR_CHILD
, JOBSET_TRIGGER_CHILD
public static final RequestType JOBSET_RECUR_CHILD
The parent request type will be JOBSET_RECUR_PARENT
.
public static final RequestType SUB_REQUEST
The parent request type will be one of: SINGLETON
, RECUR_CHILD
, TRIGGER_CHILD
, JOBSET_STEP
, SUB_REQUEST
public static final RequestType UNVALIDATED_REQUEST
A request of this type will have PENDING_VALIDATION
State
until it has been validated. Once validated the request type is set to the appropriate type. If validation fails, the request state is set to VALIDATION_FAILED
and the request type is not changed.
public static final RequestType UNVALIDATED_SUB_REQUEST
A request of this type will have PENDING_VALIDATION
State
until it has been validated. Once validated the request type is set to SUB_REQUEST
. If validation fails, the request state is set to VALIDATION_FAILED
and the request type is not changed.
public static final RequestType TRIGGER_CHILD
The parent request type will be RECUR_PARENT
.
public static final RequestType JOBSET_TRIGGER_CHILD
The parent request type will be JOBSET_RECUR_PARENT
.
Method Detail |
---|
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 isAbsoluteParent()
This returns true
for an UNVALIDATED_REQUEST
type since the validated request would always be an absolute parent of some sort.
true
if it represents an absolute parent, or false
otherwise.public boolean isInstanceParent()
This returns false
for an UNVALIDATED_REQUEST
type since that cannot be determined until the request is validated.
true
if it represents an instance parent, or false
otherwise.public int value()
public static RequestType getType(int value)
value
- the numeric valuejava.lang.IllegalArgumentException
- if unsupported value.public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
public static RequestType from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static RequestType fromString(java.lang.String requestTypeStr)
requestTypeStr
-requestTypeStr
or RequestType.Unknown if the conversion could not be made.public java.lang.String toString(java.util.Locale locale)
|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |