Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.5)
E20742-01


oracle.as.scheduler
Enum Diagnosis.DiagnosticCode

java.lang.Object
  extended by java.lang.Enum<Diagnosis.DiagnosticCode>
      extended by oracle.as.scheduler.Diagnosis.DiagnosticCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Diagnosis.DiagnosticCode>
Enclosing class:
Diagnosis

public static enum Diagnosis.DiagnosticCode
extends java.lang.Enum<Diagnosis.DiagnosticCode>

Enum of diagnostic codes.


Enum Constant Summary
BLOCKED
          The request is blocked by one or more incompatible requests.
DEFERRED
          The request is deferred until the previous recurrence completes.
DISABLED_WORK_ASSIGNMENT
          The only bound work assignment that could process the request is disabled.
DISPATCHER_FAILED
          The dispatcher has failed.
DISPATCHER_STOPPED
          The dispatcher is stopped.
FUTURE_START
          The scheduled time for the request is in the future.
INACTIVE_WORK_ASSIGNMENT_WAIT
          There is an inactive work assignment that can process the request as soon as the work assignment becomes active.
NO_ACTIVE_SERVER
          No server is active in the Process Group where the request will be processed.
NO_APPLICATION
          The application required by the request is not available.
NO_BOUND_WORK_ASSIGNMENT
          None of the enabled bound work assignments is specialized to process the request.
NO_LOADED_WORK_ASSIGNMENT
          There is a bound work assignment that can process the request, but the work assignment has not been loaded on the server it is bound to.
PARENT_NOT_PAUSED
          The request is a sub-request whose parent is not in PAUSED state.
PAUSED
          The request is the parent of one or more subrequests which are running.
POSTPROCESS_DELAY
          The post-processor has delayed the request.
PREPROCESS_DELAY
          The pre-processor has delayed the request.
PROCESSOR_FAILED
          The processor has failed.
PROCESSOR_STOPPED
          The processor is stopped.
PROCESSOR_WAIT
          There is an active work assignment that can process the request, and the request is waiting for a processor to become available.
REQUESTED_PROCESSOR_NOT_ACTIVE
          The request uses the SYS_requestedProcessor system property to specify a particular processor, and that processor is not active.
RETRY_DELAY
          Request had an error and has been delayed before being retried to allow time for the problem that caused the error to be resolved.
TERMINAL
          The request is in a terminal state.
THROTTLED
          The request is an asynchronous request that is temporarily throttled because the number of active asynchronous workers of its type (PL/SQL or asynchronous Java) is at the limit that is allowed for the work assignment.
TIMED_OUT
          The request has timed out.
UNKNOWN
          Unknown code.
 
Method Summary
static Diagnosis.DiagnosticCode fromString(java.lang.String diagnosticCodeStr)
          Converts a stringified diagnostic code into a DiagnosticCode object.
 java.lang.String toString(java.util.Locale locale)
           
 int value()
          Returns the numeric value for the diagnostic code.
static Diagnosis.DiagnosticCode valueOf(int value)
          Returns the diagnostic code for the given numeric value.
static Diagnosis.DiagnosticCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Diagnosis.DiagnosticCode[] 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 Diagnosis.DiagnosticCode UNKNOWN
Unknown code.


RETRY_DELAY

public static final Diagnosis.DiagnosticCode RETRY_DELAY
Request had an error and has been delayed before being retried to allow time for the problem that caused the error to be resolved.


NO_ACTIVE_SERVER

public static final Diagnosis.DiagnosticCode NO_ACTIVE_SERVER
No server is active in the Process Group where the request will be processed.


REQUESTED_PROCESSOR_NOT_ACTIVE

public static final Diagnosis.DiagnosticCode REQUESTED_PROCESSOR_NOT_ACTIVE
The request uses the SYS_requestedProcessor system property to specify a particular processor, and that processor is not active.


NO_APPLICATION

public static final Diagnosis.DiagnosticCode NO_APPLICATION
The application required by the request is not available. Reasons include the following:


NO_BOUND_WORK_ASSIGNMENT

public static final Diagnosis.DiagnosticCode NO_BOUND_WORK_ASSIGNMENT
None of the enabled bound work assignments is specialized to process the request.


INACTIVE_WORK_ASSIGNMENT_WAIT

public static final Diagnosis.DiagnosticCode INACTIVE_WORK_ASSIGNMENT_WAIT
There is an inactive work assignment that can process the request as soon as the work assignment becomes active. The name of the work assignment is provided.


FUTURE_START

public static final Diagnosis.DiagnosticCode FUTURE_START
The scheduled time for the request is in the future.


PROCESSOR_WAIT

public static final Diagnosis.DiagnosticCode PROCESSOR_WAIT
There is an active work assignment that can process the request, and the request is waiting for a processor to become available. The name of the work assignment is provided.


NO_LOADED_WORK_ASSIGNMENT

public static final Diagnosis.DiagnosticCode NO_LOADED_WORK_ASSIGNMENT
There is a bound work assignment that can process the request, but the work assignment has not been loaded on the server it is bound to. The server may be down. The name of the work assignment is provided.


BLOCKED

public static final Diagnosis.DiagnosticCode BLOCKED
The request is blocked by one or more incompatible requests.


PROCESSOR_STOPPED

public static final Diagnosis.DiagnosticCode PROCESSOR_STOPPED
The processor is stopped.


PROCESSOR_FAILED

public static final Diagnosis.DiagnosticCode PROCESSOR_FAILED
The processor has failed.


DISPATCHER_STOPPED

public static final Diagnosis.DiagnosticCode DISPATCHER_STOPPED
The dispatcher is stopped.


DISPATCHER_FAILED

public static final Diagnosis.DiagnosticCode DISPATCHER_FAILED
The dispatcher has failed.


PREPROCESS_DELAY

public static final Diagnosis.DiagnosticCode PREPROCESS_DELAY
The pre-processor has delayed the request.

The ending time of the delay is provided.


POSTPROCESS_DELAY

public static final Diagnosis.DiagnosticCode POSTPROCESS_DELAY
The post-processor has delayed the request.

The ending time of the delay is provided.


DEFERRED

public static final Diagnosis.DiagnosticCode DEFERRED
The request is deferred until the previous recurrence completes.


PARENT_NOT_PAUSED

public static final Diagnosis.DiagnosticCode PARENT_NOT_PAUSED
The request is a sub-request whose parent is not in PAUSED state.


PAUSED

public static final Diagnosis.DiagnosticCode PAUSED
The request is the parent of one or more subrequests which are running. This request has paused until the subrequest(s) finish.


THROTTLED

public static final Diagnosis.DiagnosticCode THROTTLED
The request is an asynchronous request that is temporarily throttled because the number of active asynchronous workers of its type (PL/SQL or asynchronous Java) is at the limit that is allowed for the work assignment.


TERMINAL

public static final Diagnosis.DiagnosticCode TERMINAL
The request is in a terminal state.


DISABLED_WORK_ASSIGNMENT

public static final Diagnosis.DiagnosticCode DISABLED_WORK_ASSIGNMENT
The only bound work assignment that could process the request is disabled.


TIMED_OUT

public static final Diagnosis.DiagnosticCode TIMED_OUT
The request has timed out.

Method Detail

values

public static Diagnosis.DiagnosticCode[] 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 (Diagnosis.DiagnosticCode c : Diagnosis.DiagnosticCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Diagnosis.DiagnosticCode 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

value

public int value()
Returns the numeric value for the diagnostic code.

Returns:
value for this diagnostic code

valueOf

public static Diagnosis.DiagnosticCode valueOf(int value)
Returns the diagnostic code for the given numeric value.

Parameters:
value - to convert to diagnostic code
Returns:
associated diagnostic code

fromString

public static Diagnosis.DiagnosticCode fromString(java.lang.String diagnosticCodeStr)
Converts a stringified diagnostic code into a DiagnosticCode object.

Parameters:
diagnosticCodeStr -
Returns:
the diagnostic code derived from diagnosticCodeStr or DiagnosticCode.Unknown if the conversion could not be made.

toString

public java.lang.String toString(java.util.Locale locale)

Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.5)
E20742-01


Copyright © 2008, 2011 Oracle. All rights reserved.