Interface ExecuteStepActionResolver
- All Known Implementing Classes:
DefaultExecuteStepActionResolver,ManualExecuteStepActionResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves the action to invoke for an "execute step".
Production defaults to the action carried by the command. Tests can replace this component to provide fake actions without changing workflow definitions.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Method Summary
Modifier and TypeMethodDescriptionresolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Resolve the action for the given execute command.
-
Method Details
-
resolve
PayloadProcessor resolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Resolve the action for the given execute command.- Parameters:
workflowExecutionOperations- runtime primitive-operation surfaceworkflowExecution- workflow execution.command- execute command.- Returns:
- action to invoke.
-