Class JexlAction

  • All Implemented Interfaces:
    Action

    public class JexlAction
    extends java.lang.Object
    implements Action
    • Constructor Summary

      Constructors 
      Constructor Description
      JexlAction​(java.lang.String expression)  
      JexlAction​(java.lang.String expression, org.apache.commons.jexl3.JexlEngine jexl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(Facts facts)
      Execute the action when the rule's condition evaluates to true.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JexlAction

        public JexlAction​(java.lang.String expression)
      • JexlAction

        public JexlAction​(java.lang.String expression,
                          org.apache.commons.jexl3.JexlEngine jexl)
    • Method Detail

      • execute

        public void execute​(Facts facts)
        Description copied from interface: Action
        Execute the action when the rule's condition evaluates to true.
        Specified by:
        execute in interface Action
        Parameters:
        facts - known at the time of execution of the action