public class SpELAction extends java.lang.Object implements Action
Action that uses SpEL to execute the action.
Each fact is set as a variable in the EvaluationContext.
The facts map is set as the root object of the EvaluationContext.| Constructor and Description |
|---|
SpELAction(java.lang.String expression)
Create a new
SpELAction. |
SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext)
Create a new
SpELAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Facts facts) |
public SpELAction(java.lang.String expression)
SpELAction.expression - the action written in expression languagepublic SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext)
SpELAction.expression - the action written in expression languageparserContext - the SpEL parser contextCopyright © 2019. All Rights Reserved.