Class WorkflowTaskResult

java.lang.Object
io.temporal.internal.replay.WorkflowTaskResult

public final class WorkflowTaskResult extends Object
  • Method Details

    • newBuilder

      public static WorkflowTaskResult.Builder newBuilder()
    • getParentWorkflowExecution

      @Nullable public io.temporal.api.common.v1.WorkflowExecution getParentWorkflowExecution()
      The workflow that started this one as a child, or null if it has no parent.
    • isContinuedAsNew

      public boolean isContinuedAsNew()
      Whether this run was created by a continue-as-new rather than started directly.
    • getCommands

      public List<io.temporal.api.command.v1.Command> getCommands()
    • getMessages

      public List<io.temporal.api.protocol.v1.Message> getMessages()
    • getQueryResults

      public Map<String,io.temporal.api.query.v1.WorkflowQueryResult> getQueryResults()
    • isFinalCommand

      public boolean isFinalCommand()
      Is this result contain a workflow completion command
    • isForceWorkflowTask

      public boolean isForceWorkflowTask()
    • getNonfirstLocalActivityAttempts

      public int getNonfirstLocalActivityAttempts()
    • getSdkFlags

      public List<Integer> getSdkFlags()
    • getWriteSdkName

      public String getWriteSdkName()
    • getWriteSdkVersion

      public String getWriteSdkVersion()
    • getVersioningBehavior

      public VersioningBehavior getVersioningBehavior()
    • getApplyPostCompletionMetrics

      public Runnable getApplyPostCompletionMetrics()