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.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 Summary
Modifier and TypeMethodDescriptionvoiddefineRules(RulesFactory rulesFactory) The method to be implemented to define the set of rules for thisRuleUnit.
-
Method Details
-
defineRules
The method to be implemented to define the set of rules for thisRuleUnit.
-