public interface DecisionTaskHandler
Modifier and Type | Interface and Description |
---|---|
static class |
DecisionTaskHandler.Result |
Modifier and Type | Method and Description |
---|---|
DecisionTaskHandler.Result |
handleDecisionTask(DecisionTaskWithHistoryIterator decisionTaskIterator)
Handles a single workflow task.
|
boolean |
isAnyTypeSupported()
True if this handler handles at least one workflow type.
|
DecisionTaskHandler.Result handleDecisionTask(DecisionTaskWithHistoryIterator decisionTaskIterator) throws java.lang.Exception
decisionTaskIterator
- The decision task to handle. Iterator wraps the task to support
pagination of the history. The events are loaded lazily when history iterator next is
called. It is expected that the method implementation aborts decision by rethrowing any
exception from Iterator.next()
.java.lang.Exception
boolean isAnyTypeSupported()