Package org.rossonet.ext.rules.mvel
Class MVELAction
- java.lang.Object
-
- org.rossonet.ext.rules.mvel.MVELAction
-
-
Constructor Summary
Constructors Constructor Description MVELAction(java.lang.String expression)Create a newMVELAction.MVELAction(java.lang.String expression, org.mvel2.ParserContext parserContext)Create a newMVELAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Facts facts)Execute the action when the rule's condition evaluates to true.
-
-
-
Constructor Detail
-
MVELAction
public MVELAction(java.lang.String expression)
Create a newMVELAction.- Parameters:
expression- the action written in expression language
-
MVELAction
public MVELAction(java.lang.String expression, org.mvel2.ParserContext parserContext)Create a newMVELAction.- Parameters:
expression- the action written in expression languageparserContext- the MVEL parser context
-
-