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 HandlerStatus

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

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

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

Enumeration of application callout actions. Callouts allow an application to customize pre-processing and post-processing of requests. The action returned by a callback handler determines how the subsequent request processing will proceed.

See Also:
PreProcessHandler, PostProcessHandler

Enum Constant Summary
BIZ_ERROR
          Stop processing the request with a business error.
CANCEL
          Cancel processing the request.
DELAY
          Delay processing of the request.
PROCEED
          Continue processing the request.
SYSTEM_ERROR
          Stop processing the request with a system error.
UNKNOWN
          Unknown or invalid status.
WARN
          Continue processing the request with a warning.

 

Method Summary
static HandlerStatus fromString(java.lang.String handlerStatusStr)
          Converts a stringified handler status into a HandlerStatus object.
 java.lang.String toString(java.util.Locale locale)
          Support EM's need to acquire a localized version of String value
static HandlerStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HandlerStatus[] 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 HandlerStatus UNKNOWN
Unknown or invalid status.

PROCEED

public static final HandlerStatus PROCEED
Continue processing the request.

DELAY

public static final HandlerStatus DELAY
Delay processing of the request.

CANCEL

public static final HandlerStatus CANCEL
Cancel processing the request.

WARN

public static final HandlerStatus WARN
Continue processing the request with a warning.

BIZ_ERROR

public static final HandlerStatus BIZ_ERROR
Stop processing the request with a business error.

SYSTEM_ERROR

public static final HandlerStatus SYSTEM_ERROR
Stop processing the request with a system error.

Method Detail

values

public static HandlerStatus[] 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 (HandlerStatus c : HandlerStatus.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HandlerStatus 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

fromString

public static HandlerStatus fromString(java.lang.String handlerStatusStr)
Converts a stringified handler status into a HandlerStatus object.
Parameters:
handlerStatusStr -
Returns:
the handler status derived from handlerStatusStr or HandlerStatus.UNKNOWN if the conversion could not be made.

toString

public java.lang.String toString(java.util.Locale locale)
Support EM's need to acquire a localized version of String value
Parameters:
locale -
Returns:
the localized string

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.