Class WorkflowTaskHandler.Result

java.lang.Object
io.temporal.internal.worker.WorkflowTaskHandler.Result
Enclosing interface:
WorkflowTaskHandler

public static final class WorkflowTaskHandler.Result extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Result(String workflowType, io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest taskCompleted, io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest taskFailed, io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest queryCompleted, io.temporal.serviceclient.RpcRetryOptions requestRetryOptions, boolean completionCommand, Functions.Proc1<Long> resetEventIdHandle, Runnable applyPostCompletionMetrics)
     
    Result(String workflowType, io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest taskCompleted, io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest taskFailed, io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest queryCompleted, io.temporal.serviceclient.RpcRetryOptions requestRetryOptions, boolean completionCommand, Functions.Proc1<Long> resetEventIdHandle, Runnable applyPostCompletionMetrics, io.temporal.api.common.v1.WorkflowExecution completionParentExecution)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    io.temporal.api.common.v1.WorkflowExecution
    The workflow to attribute this workflow's own result to, or null to attribute it to the workflow itself.
    io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest
     
    io.temporal.serviceclient.RpcRetryOptions
     
     
    io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest
     
    io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest
     
     
    boolean
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Result

      public Result(String workflowType, io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest taskCompleted, io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest taskFailed, io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest queryCompleted, io.temporal.serviceclient.RpcRetryOptions requestRetryOptions, boolean completionCommand, Functions.Proc1<Long> resetEventIdHandle, Runnable applyPostCompletionMetrics)
    • Result

      public Result(String workflowType, io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest taskCompleted, io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest taskFailed, io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest queryCompleted, io.temporal.serviceclient.RpcRetryOptions requestRetryOptions, boolean completionCommand, Functions.Proc1<Long> resetEventIdHandle, Runnable applyPostCompletionMetrics, @Nullable io.temporal.api.common.v1.WorkflowExecution completionParentExecution)
  • Method Details

    • getCompletionParentExecution

      @Nullable public io.temporal.api.common.v1.WorkflowExecution getCompletionParentExecution()
      The workflow to attribute this workflow's own result to, or null to attribute it to the workflow itself.
    • getTaskCompleted

      public io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest getTaskCompleted()
    • getTaskFailed

      public io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest getTaskFailed()
    • getQueryCompleted

      public io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest getQueryCompleted()
    • getRequestRetryOptions

      public io.temporal.serviceclient.RpcRetryOptions getRequestRetryOptions()
    • isCompletionCommand

      public boolean isCompletionCommand()
    • getResetEventIdHandle

      public Functions.Proc1<Long> getResetEventIdHandle()
    • getApplyPostCompletionMetrics

      public Runnable getApplyPostCompletionMetrics()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getWorkflowType

      public String getWorkflowType()