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.BeanResolver beanResolver)
Create a new
SpELAction. |
SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext)
Create a new
SpELAction. |
SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext,
org.springframework.expression.BeanResolver beanResolver)
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.BeanResolver beanResolver)
SpELAction.expression - the action written in expression languagebeanResolver - the bean resolver used to resolve bean referencespublic SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext)
SpELAction.expression - the action written in expression languageparserContext - the SpEL parser contextpublic SpELAction(java.lang.String expression,
org.springframework.expression.ParserContext parserContext,
org.springframework.expression.BeanResolver beanResolver)
SpELAction.expression - the action written in expression languagebeanResolver - the bean resolver used to resolve bean referencesparserContext - the SpEL parser contextCopyright © 2020. All Rights Reserved.