Class WorkflowTaskHandler.Result

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

public static final class WorkflowTaskHandler.Result extends Object
  • 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)
  • Method Details

    • 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()