Interface DroolsRuleConditionsGenerator

All Known Implementing Classes:
DefaultDroolsRuleConditionsGenerator

public interface DroolsRuleConditionsGenerator
  • Method Details

    • generateConditions

      String generateConditions(DroolsRuleGeneratorContext context, String indentation)
      Generates the conditions for the Drools rule engine.
      Parameters:
      context - - the drools rule generator context
      indentation - - the indentation
      Returns:
      the String representation
    • generateRequiredFactsCheckPattern

      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

      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