| Package | Description |
|---|---|
| de.hybris.platform.droolsruleengineservices.compiler | |
| de.hybris.platform.droolsruleengineservices.compiler.impl |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
DroolsRuleValueFormatter.formatValue(DroolsRuleGeneratorContext context,
java.lang.Object value)
Converts a value to its drools representation.
|
java.lang.String |
DroolsRuleActionsGenerator.generateActions(DroolsRuleGeneratorContext context,
java.lang.String indentation)
Generates the actions for the Drools rule engine.
|
java.lang.String |
DroolsRuleConditionsGenerator.generateConditions(DroolsRuleGeneratorContext context,
java.lang.String indentation)
Generates the conditions for the Drools rule engine.
|
java.lang.String |
DroolsRuleMetadataGenerator.generateMetadata(DroolsRuleGeneratorContext context,
java.lang.String indentation)
Generates the metadata for the Drools rule engine.
|
java.lang.String |
DroolsRuleConditionsGenerator.generateRequiredFactsCheckPattern(DroolsRuleGeneratorContext context)
Generates the required facts check pattern for the rule's LHS
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDroolsGeneratorContext |
| Modifier and Type | Method and Description |
|---|---|
protected DroolsRuleGeneratorContext |
DefaultDroolsRuleTargetCodeGenerator.createGeneratorContext(RuleCompilerContext context,
RuleIr ruleIr,
DroolsRuleModel droolsRule) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
DefaultDroolsRuleConditionsGenerator.evaluatePatternConditionType(DroolsRuleGeneratorContext context,
AbstractRuleIrPatternCondition patternCondition) |
protected java.lang.String |
DefaultDroolsRuleConditionsGenerator.evaluatePatternConditionType(DroolsRuleGeneratorContext context,
AbstractRuleIrPatternCondition patternCondition,
java.util.function.Supplier<java.lang.String> variablePrefixSupplier) |
protected RuleIrVariable |
DefaultDroolsRuleConditionsGenerator.findVariable(DroolsRuleGeneratorContext context,
java.lang.String variableName) |
java.lang.String |
DefaultDroolsRuleValueFormatter.DroolsRuleValueFormatterHelper.format(DroolsRuleGeneratorContext context,
V value) |
java.lang.String |
DefaultDroolsRuleValueFormatter.formatValue(DroolsRuleGeneratorContext context,
java.lang.Object value) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateAccumulateFunction(DroolsRuleGeneratorContext context,
DroolsRuleModel droolsRule) |
java.lang.String |
DefaultDroolsRuleActionsGenerator.generateActions(DroolsRuleGeneratorContext context,
java.lang.String indentation) |
protected java.lang.String |
DefaultDroolsRuleConditionsGenerator.generateConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrCondition> conditions,
RuleIrGroupOperator operator,
java.lang.String conditionPrefix,
java.lang.String indentation) |
java.lang.String |
DefaultDroolsRuleConditionsGenerator.generateConditions(DroolsRuleGeneratorContext context,
java.lang.String indentation) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateConfigVariable(DroolsRuleGeneratorContext context,
AbstractRuleModel rule) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateDateRangeCondition(DroolsRuleGeneratorContext context,
AbstractRuleModel rule) |
protected void |
DefaultDroolsRuleActionsGenerator.generateExecutableAction(DroolsRuleGeneratorContext context,
RuleIrExecutableAction ruleIrAction,
java.lang.String indentation,
java.lang.StringBuilder actionsBuffer) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateExecutableConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrExecutableCondition> executableConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateExistsConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrExistsCondition> existsConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected java.util.Map<java.lang.String,java.lang.String> |
DefaultDroolsRuleTargetCodeGenerator.generateGlobals(DroolsRuleGeneratorContext context) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateGroupConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrGroupCondition> groupConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateGroupExecutionVariable(DroolsRuleGeneratorContext context,
AbstractRuleModel rule) |
java.lang.String |
DefaultDroolsRuleMetadataGenerator.generateMetadata(DroolsRuleGeneratorContext context,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateNotConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrNotCondition> notConditions,
java.util.function.Function<RuleIrNotCondition,java.lang.String> generateConditionsSupplier,
java.util.StringJoiner conditionsJoiner) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateNotConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrNotCondition> notConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generatePatternConditions(DroolsRuleGeneratorContext context,
java.util.Map<java.lang.String,java.util.Collection<AbstractRuleIrPatternCondition>> patternConditions,
RuleIrGroupOperator groupOperator,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateRequiredFactsCheck(DroolsRuleGeneratorContext context,
java.lang.String conditions) |
java.lang.String |
DefaultDroolsRuleConditionsGenerator.generateRequiredFactsCheckPattern(DroolsRuleGeneratorContext context) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateResultCountCondition(DroolsRuleGeneratorContext context) |
protected java.lang.String |
DefaultDroolsRuleTargetCodeGenerator.generateRuleContent(DroolsRuleGeneratorContext context) |
protected java.lang.String |
DefaultDroolsRuleTargetCodeGenerator.generateRuleContentQuery(DroolsRuleGeneratorContext context,
java.lang.String conditions) |
protected java.lang.String |
DefaultDroolsRuleTargetCodeGenerator.generateRuleContentRule(DroolsRuleGeneratorContext context,
java.lang.String actions,
java.lang.String metadata) |
protected java.lang.StringBuilder |
DefaultDroolsRuleTargetCodeGenerator.generateRuleGroupCondition(DroolsRuleGeneratorContext context,
AbstractRuleModel rule)
Deprecated.
since 6.6. It's deprecated because of the changes in the rule action execution logic
|
protected void |
DefaultDroolsRuleActionsGenerator.generateVariables(DroolsRuleGeneratorContext context,
java.lang.String indentation,
java.lang.StringBuilder actionsBuffer) |
protected java.lang.String |
DefaultDroolsRuleConditionsGenerator.generateWhenConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrCondition> conditions,
RuleIrGroupOperator operator,
java.lang.String conditionPrefix,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateWhenGroupConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrGroupCondition> groupConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateWhenNotConditions(DroolsRuleGeneratorContext context,
java.util.List<RuleIrNotCondition> notConditions,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected void |
DefaultDroolsRuleConditionsGenerator.generateWhenPatternConditions(DroolsRuleGeneratorContext context,
java.util.Map<java.lang.String,java.util.Collection<AbstractRuleIrPatternCondition>> patternConditions,
RuleIrGroupOperator groupOperator,
java.util.StringJoiner conditionsJoiner,
java.lang.String indentation) |
protected boolean |
DefaultDroolsRuleConditionsGenerator.isVariableTerminal(java.lang.String variableName,
DroolsRuleGeneratorContext context) |
Copyright © 2018 SAP SE. All Rights Reserved.