Interface RuleConditionConsumptionSupport
- All Known Implementing Classes:
DefaultRuleConditionConsumptionSupport
public interface RuleConditionConsumptionSupport
Contract that provides support for rule conditions that deal with consumed products
-
Method Summary
Modifier and TypeMethodDescriptionnewProductConsumedCondition(RuleCompilerContext context, String orderEntryRaoVariable) Creates product consumed condition for the given compiler context and associated variable forOrderEntryRAO
-
Method Details
-
newProductConsumedCondition
List<RuleIrCondition> newProductConsumedCondition(@Nonnull RuleCompilerContext context, 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
-