Interface RuleUnitDefinition

  • All Superinterfaces:
    org.drools.ruleunits.api.RuleUnitData
    All Known Implementing Classes:
    SyntheticRuleUnit

    public interface RuleUnitDefinition
    extends org.drools.ruleunits.api.RuleUnitData
    A RuleUnitData allowing to define not only the set of data used by a RuleUnit, but also, through a convenient fluent Java DSL, the set of rules belonging to it.
    • Method Detail

      • defineRules

        void defineRules​(RulesFactory rulesFactory)
        The method to be implemented to define the set of rules for this RuleUnit.