Package org.drools.ruleunits.dsl
Class RulesFactory
java.lang.Object
org.drools.ruleunits.dsl.RulesFactory
The starting point to create and define rules through the rule unit Java DSL.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrule()Creates a new rule and automatically adds it to the ones belonging to theRuleUnitDefinition.Creates a new rule with the given name and automatically adds it to the ones belonging to theRuleUnitDefinition.
-
Constructor Details
-
RulesFactory
-
-
Method Details
-
rule
Creates a new rule and automatically adds it to the ones belonging to theRuleUnitDefinition. -
rule
Creates a new rule with the given name and automatically adds it to the ones belonging to theRuleUnitDefinition.
-