Class SpelExpressionAction<S,E>
java.lang.Object
org.springframework.statemachine.action.SpelExpressionAction<S,E>
- All Implemented Interfaces:
Action<S,
E>
Action
which uses Spring SpEL expression for action execution.- Author:
- Janne Valkealahti
-
Constructor Summary
ConstructorDescriptionSpelExpressionAction
(org.springframework.expression.Expression expression) Instantiates a new spel expression action. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(StateContext<S, E> context) Execute action with aStateContext
.
-
Constructor Details
-
SpelExpressionAction
public SpelExpressionAction(org.springframework.expression.Expression expression) Instantiates a new spel expression action.- Parameters:
expression
- the expression
-
-
Method Details