Class ActivityTask


  • public final class ActivityTask
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ActivityTask​(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse response, Functions.Proc completionHandle)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Functions.Proc getCompletionHandle()
      Completion handle function that must be called by the handler whenever activity processing is completed.
      io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse getResponse()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActivityTask

        public ActivityTask​(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse response,
                            Functions.Proc completionHandle)
    • Method Detail

      • getResponse

        public io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse getResponse()
      • getCompletionHandle

        public Functions.Proc getCompletionHandle()
        Completion handle function that must be called by the handler whenever activity processing is completed.