Interface ExecutePrimitive.ExecuteCommand
- All Known Implementing Classes:
PrimitiveCommands.WorkflowStepResultExecuteCommand
- Enclosing interface:
ExecutePrimitive
public static interface ExecutePrimitive.ExecuteCommand
Parameter object for the primitive.
-
Method Summary
Modifier and TypeMethodDescriptionaction()Returns action to be executed.Returns event name customizer.local()Returns local payload passed to the action.Returns reducer to be used for the step parameters.Returns reducer to be used for the step result.default RetryPolicyReturns retry policy for the action.stepName()Name of the step.timeout()Returns timeout of the action.
-
Method Details
-
stepName
String stepName()Name of the step.- Returns:
- name of the step.
-
local
Returns local payload passed to the action.- Returns:
- payload.
-
action
PayloadProcessor action()Returns action to be executed.- Returns:
- action.
-
parameterPayloadReducer
PayloadReducer parameterPayloadReducer()Returns reducer to be used for the step parameters.- Returns:
- step parameter reducer for payload.
-
resultPayloadReducer
PayloadReducer resultPayloadReducer()Returns reducer to be used for the step result.- Returns:
- step result reducer for payload.
-
timeout
Duration timeout()Returns timeout of the action.- Returns:
- timeout.
-
eventNameCustomizer
EventNameCustomizer eventNameCustomizer()Returns event name customizer.- Returns:
- event name customizer.
-
retryPolicy
Returns retry policy for the action.- Returns:
- retry policy.
-