Interface Action

  • All Known Implementing Classes:
    JexlAction
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Action
    This interface represents a rule's action.
    • Method Detail

      • execute

        void execute​(Facts facts)
              throws java.lang.Exception
        Execute the action when the rule's condition evaluates to true.
        Parameters:
        facts - known at the time of execution of the action
        Throws:
        java.lang.Exception - when unable to execute the action