Class DefaultExecuteStepActionResolver
java.lang.Object
io.axoniq.framework.workflow.runtime.execution.DefaultExecuteStepActionResolver
- All Implemented Interfaces:
ExecuteStepActionResolver
@Internal
public class DefaultExecuteStepActionResolver
extends Object
implements ExecuteStepActionResolver
Default action resolver that invokes the action supplied by the workflow definition.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Resolve the action for the given execute command.
-
Constructor Details
-
DefaultExecuteStepActionResolver
public DefaultExecuteStepActionResolver()
-
-
Method Details
-
resolve
public PayloadProcessor resolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Description copied from interface:ExecuteStepActionResolverResolve the action for the given execute command.- Specified by:
resolvein interfaceExecuteStepActionResolver- Parameters:
workflowExecutionOperations- runtime primitive-operation surfaceworkflowExecution- workflow execution.command- execute command.- Returns:
- action to invoke.
-