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
Class HandlerAction

java.lang.Object
  extended by oracle.as.scheduler.HandlerAction


public class HandlerAction
extends java.lang.Object
Since:
release specific (what release of product did this appear in) 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.
Version:
$Header: ess/src/oracle/as/scheduler/HandlerAction.java /main/1 2010/05/18 12:32:01 kbittler Exp $
Author:
kbittler
See Also:
PreProcessHandler, PostProcessHandler

Constructor Summary
HandlerAction(HandlerStatus status)
          Constructor.
HandlerAction(HandlerStatus status, java.lang.String message)
          Constructor.
HandlerAction(HandlerStatus status, java.lang.String message, java.lang.Throwable throwable)
          Constructor.

 

Method Summary
 java.lang.String getMessage()
          Returns the message associated with a handler execution.
 HandlerStatus getStatus()
          Returns the status of a handler execution.
 java.lang.Throwable getThrowable()
          Returns a Throwable associated with a handler execution.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

HandlerAction

public HandlerAction(HandlerStatus status)
Constructor.
Parameters:
status - The status of a handler execution. oracle.as.scheduler.HandlerStatus object. Value may be PROCEED, WARN, DELAY, CANCEL, SYSTEM_ERROR, BIZ_ERROR. This status may result in a state transition for the request.

HandlerAction

public HandlerAction(HandlerStatus status,
                     java.lang.String message)
Constructor.
Parameters:
status - The status of a handler execution. oracle.as.scheduler.HandlerStatus object. Value may be PROCEED, WARN, DELAY, CANCEL, SYSTEM_ERROR, BIZ_ERROR. This status may result in a state transition for the request.
message - A message that, depending on the value of status, may be used for various purposes.

HandlerAction

public HandlerAction(HandlerStatus status,
                     java.lang.String message,
                     java.lang.Throwable throwable)
Constructor.
Parameters:
status - The status of a handler execution. oracle.as.scheduler.HandlerStatus object. Value may be PROCEED, WARN, DELAY, CANCEL, SYSTEM_ERROR, BIZ_ERROR. This status may result in a state transition for the request.
message - A message that, depending on the value of status, may be used for various purposes.
throwable - Further information about the status of this handler execution.

Method Detail

getStatus

public HandlerStatus getStatus()
Returns the status of a handler execution.

getMessage

public java.lang.String getMessage()
Returns the message associated with a handler execution.

getThrowable

public java.lang.Throwable getThrowable()
Returns a Throwable associated with a handler execution.

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.