Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


oracle.as.scheduler
Enum Cause

java.lang.Object
  extended by java.lang.Enum<Cause>
      extended by oracle.as.scheduler.Cause

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Cause>

public enum Cause
extends java.lang.Enum<Cause>

Enumeration of job request terminal state causes This class provides a mapping between the cause code registered by the system and and a detailed (translatable) message.


Enum Constant Summary
MANUAL_RECOVER_ERROR
          Manual recovery
METADATA_NOT_FOUND
          Metadata not found
NON_TERMINAL
          Default terminal state.
OPERATOR_CANCEL
          Request was cancelled due to operator action.
PARENT_NOT_PAUSED
          Parent request did not pause during its execution.
POSTPROCESS_BIZ_ERROR
          Business error occurred during post-processing.
POSTPROCESS_CANCEL
          Request was cancelled during post-processing.
POSTPROCESS_ERROR
          Application error occurred during post-processing.
POSTPROCESS_SYSTEM_ERROR
          System error occurred during post-processing.
POSTPROCESS_WARNING
          Application error occurred during post-processing.
PREPROCESS_BIZ_ERROR
          Business error occurred during pre-processing.
PREPROCESS_CANCEL
          Request was cancelled during pre-processing.
PREPROCESS_ERROR
          Application error occurred during pre-processing.
PREPROCESS_INITIATE_CANCEL
          Request was cancelled by pre-processing callout handler.
PREPROCESS_SYSTEM_ERROR
          System error occurred during pre-processing.
PROCESS_BIZ_ERROR
          Business error occurred during request processing.
PROCESS_CANCEL
          Request processing was cancelled.
PROCESS_ERROR
          Application error occurred during request processing.
PROCESS_MANUAL_RECOVER_ERROR
          The job indiciated there was an error during processing that requires the request to be recovered manually
PROCESS_MANUAL_RECOVER_ERROR_FINALIZE
          The job indiciated there was an error during processing that requires the request to be recovered manually
PROCESS_RECOVER
          The request could not be recovered.
PROCESS_SUCCESS
          Request processing was successful.
PROCESS_SYSTEM_ERROR
          System error occurred during request processing.
PROCESS_TIMED_OUT
          Asynchronous request has timed out.
PROCESS_UNKNOWN_STATUS
          Status of the request is unknown.
PROCESS_UPDATE_BIZ_ERROR
          Business error occurred during update event processing.
PROCESS_UPDATE_CANCEL
          Request processing was cancelled based on update event.
PROCESS_UPDATE_ERROR
          Application error occurred during update event processing .
PROCESS_UPDATE_WARNING
          Application warning occurred during update event processing .
PROCESS_WARNING
          Application warning occurred during request processing.
RECOVER_CANCEL
          Request was cancelled during manual recovery.
RECOVER_GROUP_CANCEL
          Request was cancelled during manual recovery when removing process group.
REQUEST_AUTHORIZATION_FAILED
          Request execution authorzation failed.
REQUEST_EXPIRED
          Request expired.
REQUEST_LOGIN_ERROR
          Request submittor failed to login
SYSTEM_ERROR
          System error occurred
UNKNOWN
          Unknown or invalid cause
VALIDATION_ERROR
          Validation error occurred

 

Method Summary
static Cause fromString(java.lang.String causeStr)
          Converts a stringified cause into a Cause object.
static Cause getCause(int code)
          Gets the Cause for the associated code.
 int getCode()
          Gets the code for this cause.
 java.lang.String getDescription()
          Gets the description for this cause.
static Cause valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Cause[] 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

UNKNOWN

public static final Cause UNKNOWN
Unknown or invalid cause

NON_TERMINAL

public static final Cause NON_TERMINAL
Default terminal state.

REQUEST_EXPIRED

public static final Cause REQUEST_EXPIRED
Request expired.

REQUEST_LOGIN_ERROR

public static final Cause REQUEST_LOGIN_ERROR
Request submittor failed to login

REQUEST_AUTHORIZATION_FAILED

public static final Cause REQUEST_AUTHORIZATION_FAILED
Request execution authorzation failed.

SYSTEM_ERROR

public static final Cause SYSTEM_ERROR
System error occurred

VALIDATION_ERROR

public static final Cause VALIDATION_ERROR
Validation error occurred

METADATA_NOT_FOUND

public static final Cause METADATA_NOT_FOUND
Metadata not found

OPERATOR_CANCEL

public static final Cause OPERATOR_CANCEL
Request was cancelled due to operator action.

RECOVER_CANCEL

public static final Cause RECOVER_CANCEL
Request was cancelled during manual recovery.

RECOVER_GROUP_CANCEL

public static final Cause RECOVER_GROUP_CANCEL
Request was cancelled during manual recovery when removing process group.

PARENT_NOT_PAUSED

public static final Cause PARENT_NOT_PAUSED
Parent request did not pause during its execution.

PREPROCESS_SYSTEM_ERROR

public static final Cause PREPROCESS_SYSTEM_ERROR
System error occurred during pre-processing.

PREPROCESS_CANCEL

public static final Cause PREPROCESS_CANCEL
Request was cancelled during pre-processing.

PREPROCESS_INITIATE_CANCEL

public static final Cause PREPROCESS_INITIATE_CANCEL
Request was cancelled by pre-processing callout handler.

PREPROCESS_ERROR

public static final Cause PREPROCESS_ERROR
Application error occurred during pre-processing.

PREPROCESS_BIZ_ERROR

public static final Cause PREPROCESS_BIZ_ERROR
Business error occurred during pre-processing.

PROCESS_WARNING

public static final Cause PROCESS_WARNING
Application warning occurred during request processing.

PROCESS_ERROR

public static final Cause PROCESS_ERROR
Application error occurred during request processing.

PROCESS_CANCEL

public static final Cause PROCESS_CANCEL
Request processing was cancelled.

PROCESS_SUCCESS

public static final Cause PROCESS_SUCCESS
Request processing was successful.

PROCESS_SYSTEM_ERROR

public static final Cause PROCESS_SYSTEM_ERROR
System error occurred during request processing.

PROCESS_BIZ_ERROR

public static final Cause PROCESS_BIZ_ERROR
Business error occurred during request processing.

PROCESS_TIMED_OUT

public static final Cause PROCESS_TIMED_OUT
Asynchronous request has timed out.

PROCESS_UNKNOWN_STATUS

public static final Cause PROCESS_UNKNOWN_STATUS
Status of the request is unknown.

PROCESS_RECOVER

public static final Cause PROCESS_RECOVER
The request could not be recovered.

PROCESS_MANUAL_RECOVER_ERROR

public static final Cause PROCESS_MANUAL_RECOVER_ERROR
The job indiciated there was an error during processing that requires the request to be recovered manually

PROCESS_MANUAL_RECOVER_ERROR_FINALIZE

public static final Cause PROCESS_MANUAL_RECOVER_ERROR_FINALIZE
The job indiciated there was an error during processing that requires the request to be recovered manually

POSTPROCESS_SYSTEM_ERROR

public static final Cause POSTPROCESS_SYSTEM_ERROR
System error occurred during post-processing.

POSTPROCESS_CANCEL

public static final Cause POSTPROCESS_CANCEL
Request was cancelled during post-processing.

POSTPROCESS_WARNING

public static final Cause POSTPROCESS_WARNING
Application error occurred during post-processing.

POSTPROCESS_ERROR

public static final Cause POSTPROCESS_ERROR
Application error occurred during post-processing.

POSTPROCESS_BIZ_ERROR

public static final Cause POSTPROCESS_BIZ_ERROR
Business error occurred during post-processing.

PROCESS_UPDATE_WARNING

public static final Cause PROCESS_UPDATE_WARNING
Application warning occurred during update event processing .

PROCESS_UPDATE_ERROR

public static final Cause PROCESS_UPDATE_ERROR
Application error occurred during update event processing .

PROCESS_UPDATE_CANCEL

public static final Cause PROCESS_UPDATE_CANCEL
Request processing was cancelled based on update event.

PROCESS_UPDATE_BIZ_ERROR

public static final Cause PROCESS_UPDATE_BIZ_ERROR
Business error occurred during update event processing.

MANUAL_RECOVER_ERROR

public static final Cause MANUAL_RECOVER_ERROR
Manual recovery

Method Detail

values

public static Cause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Cause c : Cause.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Cause valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDescription

public java.lang.String getDescription()
Gets the description for this cause.
Returns:
cause description.

getCode

public int getCode()
Gets the code for this cause.
Returns:
cause code.

getCause

public static Cause getCause(int code)
Gets the Cause for the associated code.
Parameters:
code - the code for which the Cause is being requested
Returns:
the corresponding Cause

fromString

public static Cause fromString(java.lang.String causeStr)
Converts a stringified cause into a Cause object.
Parameters:
causeStr -
Returns:
the cause derived from causeStr or Cause.Unknown if the conversion could not be made.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


Copyright © 2008, 2012 Oracle. All rights reserved.