Interface DroolsRuleConditionsGenerator
- All Known Implementing Classes:
DefaultDroolsRuleConditionsGenerator
public interface DroolsRuleConditionsGenerator
-
Method Summary
Modifier and TypeMethodDescriptiongenerateConditions(DroolsRuleGeneratorContext context, String indentation) Generates the conditions for the Drools rule engine.Generates the required facts check pattern for the rule's LHSGenerates the required type variables for the rule's LHS
-
Method Details
-
generateConditions
Generates the conditions for the Drools rule engine.- Parameters:
context- - the drools rule generator contextindentation- - the indentation- Returns:
- the String representation
-
generateRequiredFactsCheckPattern
Generates the required facts check pattern for the rule's LHS- Parameters:
context- - the drools rule generator context- Returns:
- string, containing the check pattern
-
generateRequiredTypeVariables
Generates the required type variables for the rule's LHS- Parameters:
context- - the drools rule generator context- Returns:
- string, containing the type variables
-