Interface RuleConditionConsumptionSupport
-
- All Known Implementing Classes:
DefaultRuleConditionConsumptionSupport
public interface RuleConditionConsumptionSupportContract that provides support for rule conditions that deal with consumed products
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RuleIrCondition>newProductConsumedCondition(RuleCompilerContext context, java.lang.String orderEntryRaoVariable)Creates product consumed condition for the given compiler context and associated variable forOrderEntryRAO
-
-
-
Method Detail
-
newProductConsumedCondition
java.util.List<RuleIrCondition> newProductConsumedCondition(@Nonnull RuleCompilerContext context, java.lang.String orderEntryRaoVariable)
Creates product consumed condition for the given compiler context and associated variable forOrderEntryRAO- Parameters:
context- instance ofRuleCompilerContextorderEntryRaoVariable- name of the variable for associatedOrderEntryRAO- Returns:
- list of
RuleIrConditionthat represent product consumed condition
-
-