public interface WorkflowTaskHandler
Modifier and Type | Interface and Description |
---|---|
static class |
WorkflowTaskHandler.Result |
Modifier and Type | Method and Description |
---|---|
WorkflowTaskHandler.Result |
handleWorkflowTask(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse workflowTask)
Handles a single workflow task.
|
boolean |
isAnyTypeSupported()
True if this handler handles at least one workflow type.
|
WorkflowTaskHandler.Result handleWorkflowTask(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse workflowTask) throws java.lang.Exception
workflowTask
- The workflow task to handle.java.lang.Exception
boolean isAnyTypeSupported()