Package oracle.as.scheduler
Class HandlerAction
java.lang.Object
oracle.as.scheduler.HandlerAction
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 Summary
ConstructorsConstructorDescriptionHandlerAction
(HandlerStatus status) Constructor.HandlerAction
(HandlerStatus status, String message) Constructor.HandlerAction
(HandlerStatus status, String message, Throwable throwable) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the message associated with a handler execution.Gets the status of a handler execution.Gets the Throwable associated with a handler execution.
-
Constructor Details
-
HandlerAction
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
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 ofstatus
, may be used for various purposes.
-
HandlerAction
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 ofstatus
, may be used for various purposes.throwable
- Further information about the status of this handler execution.
-
-
Method Details
-
getStatus
Gets the status of a handler execution.- Returns:
- the handler status
-
getMessage
Gets the message associated with a handler execution.- Returns:
- the associated message, if any
-
getThrowable
Gets the Throwable associated with a handler execution.- Returns:
- the associated throwable, if any
-