Class WorkflowRuntimeStatusConverter

java.lang.Object
io.dapr.workflows.runtime.WorkflowRuntimeStatusConverter

public class WorkflowRuntimeStatusConverter extends Object
  • Method Details

    • fromOrchestrationRuntimeStatus

      public static WorkflowRuntimeStatus fromOrchestrationRuntimeStatus(io.dapr.durabletask.OrchestrationRuntimeStatus status)
      Converts an OrchestrationRuntimeStatus to a WorkflowRuntimeStatus.
      Parameters:
      status - the OrchestrationRuntimeStatus to convert
      Returns:
      the corresponding WorkflowRuntimeStatus
      Throws:
      IllegalArgumentException - if the status is null or unknown