Class HandlerAction

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

public class HandlerAction extends Object
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:
  • Constructor Details

    • HandlerAction

      public HandlerAction(HandlerStatus status)
      Constructor.
      Parameters:
      status - The status of a handler execution. 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, String message)
      Constructor.
      Parameters:
      status - The status of a handler execution. 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, String message, Throwable throwable)
      Constructor.
      Parameters:
      status - The status of a handler execution. 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 Details

    • getStatus

      public HandlerStatus getStatus()
      Gets the status of a handler execution.
      Returns:
      the handler status
    • getMessage

      public String getMessage()
      Gets the message associated with a handler execution.
      Returns:
      the associated message, if any
    • getThrowable

      public Throwable getThrowable()
      Gets the Throwable associated with a handler execution.
      Returns:
      the associated throwable, if any