Class WorkflowTask


  • public class WorkflowTask
    extends java.lang.Object
    • Constructor Detail

      • WorkflowTask

        public WorkflowTask​(@Nonnull
                            io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response,
                            @Nonnull
                            Functions.Proc1<SlotReleaseReason> completionCallback)
    • Method Detail

      • getResponse

        @Nonnull
        public io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse getResponse()
      • getCompletionCallback

        @Nonnull
        public Functions.Proc1<SlotReleaseReason> getCompletionCallback()
        Completion handle function that must be called by the handler whenever workflow processing is completed.