Class RuleConstructor.ActionClause

    • Constructor Detail

      • ActionClause

        public ActionClause()
    • Method Detail

      • doAction

        public RuleConstructor doAction​(String... actions)

        Definition of actions for the rule.

        When called as

        doAction("debug(\"killing JVM\")", "killJVM()")

        rule looks

        DO debug("killing JVM"); killJVM()

        Parameters:
        actions - actions definitions to be part of the rule
        Returns:
        this, for having fluent api