Package io.temporal.internal.worker
Class WorkflowTask
- java.lang.Object
-
- io.temporal.internal.worker.WorkflowTask
-
public class WorkflowTask extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowTask(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response, Functions.Proc completionCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Functions.Proc
getCompletionCallback()
Completion handle function that must be called by the handler whenever activity processing is completed.io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse
getResponse()
-
-
-
Constructor Detail
-
WorkflowTask
public WorkflowTask(@Nonnull io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response, @Nonnull Functions.Proc completionCallback)
-
-
Method Detail
-
getResponse
@Nonnull public io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse getResponse()
-
getCompletionCallback
@Nonnull public Functions.Proc getCompletionCallback()
Completion handle function that must be called by the handler whenever activity processing is completed.
-
-