Package io.dapr.workflows.runtime
Class WorkflowRuntimeStatusConverter
java.lang.Object
io.dapr.workflows.runtime.WorkflowRuntimeStatusConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowRuntimeStatusfromOrchestrationRuntimeStatus(io.dapr.durabletask.OrchestrationRuntimeStatus status) Converts an OrchestrationRuntimeStatus to a WorkflowRuntimeStatus.
-
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
-