Interface ContentMatchRulesFilter
- All Superinterfaces:
RulesFilter<DroolsRuleModel>
- All Known Implementing Classes:
DefaultContentMatchRulesFilter
Rules filter interface base on rules content match logic
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<Collection<DroolsRuleModel>,Collection<DroolsRuleModel>> apply(Collection<String> ruleUuids) Apply the filter to a given set of rules UUIDsorg.apache.commons.lang3.tuple.Pair<Collection<DroolsRuleModel>,Collection<DroolsRuleModel>> apply(Collection<String> ruleUuids, Long newModuleVersion) Apply the filter to a given set of rules UUIDs and module version to deploy
-
Method Details
-
apply
org.apache.commons.lang3.tuple.Pair<Collection<DroolsRuleModel>,Collection<DroolsRuleModel>> apply(Collection<String> ruleUuids) Apply the filter to a given set of rules UUIDs- Specified by:
applyin interfaceRulesFilter<DroolsRuleModel>- Parameters:
ruleUuids- a collection of rule UUIDs of the rules to be filtered out- Returns:
- the pair with a lhs, containing the rules to add and rhs, containing the rules to remove
-
apply
org.apache.commons.lang3.tuple.Pair<Collection<DroolsRuleModel>,Collection<DroolsRuleModel>> apply(Collection<String> ruleUuids, Long newModuleVersion) Description copied from interface:RulesFilterApply the filter to a given set of rules UUIDs and module version to deploy- Specified by:
applyin interfaceRulesFilter<DroolsRuleModel>- Parameters:
ruleUuids- a collection of rule UUIDs of the rules to be filtered outnewModuleVersion- module version to deploy- Returns:
- the pair with a lhs, containing the rules to add and rhs, containing the rules to remove
-