Package org.drools.ruleunits.dsl
Interface RuleUnitDefinition
-
- All Superinterfaces:
org.drools.ruleunits.api.RuleUnitData
- All Known Implementing Classes:
SyntheticRuleUnit
public interface RuleUnitDefinition extends org.drools.ruleunits.api.RuleUnitDataARuleUnitDataallowing to define not only the set of data used by aRuleUnit, but also, through a convenient fluent Java DSL, the set of rules belonging to it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddefineRules(RulesFactory rulesFactory)The method to be implemented to define the set of rules for thisRuleUnit.
-
-
-
Method Detail
-
defineRules
void defineRules(RulesFactory rulesFactory)
The method to be implemented to define the set of rules for thisRuleUnit.
-
-