Interface DroolsRuleConditionsGenerator

    • 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 context
        indentation - - 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