Interface DroolsRuleConditionsGenerator
-
- All Known Implementing Classes:
DefaultDroolsRuleConditionsGenerator
public interface DroolsRuleConditionsGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgenerateConditions(DroolsRuleGeneratorContext context, java.lang.String indentation)Generates the conditions for the Drools rule engine.java.lang.StringgenerateRequiredFactsCheckPattern(DroolsRuleGeneratorContext context)Generates the required facts check pattern for the rule's LHSjava.lang.StringgenerateRequiredTypeVariables(DroolsRuleGeneratorContext context)Generates the required type variables for the rule's LHS
-
-
-
Method Detail
-
generateConditions
java.lang.String generateConditions(DroolsRuleGeneratorContext context, java.lang.String indentation)
Generates the conditions for the Drools rule engine.- Parameters:
context- - the drools rule generator contextindentation- - the indentation- Returns:
- the String representation
-
generateRequiredFactsCheckPattern
java.lang.String generateRequiredFactsCheckPattern(DroolsRuleGeneratorContext context)
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
java.lang.String generateRequiredTypeVariables(DroolsRuleGeneratorContext context)
Generates the required type variables for the rule's LHS- Parameters:
context- - the drools rule generator context- Returns:
- string, containing the type variables
-
-