Interface RulesFilter<T extends AbstractRuleEngineRuleModel>
- Type Parameters:
T- type, extendingAbstractRuleEngineRuleModel
- All Known Subinterfaces:
ContentMatchRulesFilter
- All Known Implementing Classes:
DefaultContentMatchRulesFilter
public interface RulesFilter<T extends AbstractRuleEngineRuleModel>
Rules filter interface
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<Collection<T>,Collection<T>> apply(Collection<String> ruleUuids) Apply the filter to a given set of rules UUIDsorg.apache.commons.lang3.tuple.Pair<Collection<T>,Collection<T>> 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<T>,Collection<T>> apply(Collection<String> ruleUuids) Apply the filter to a given set of rules UUIDs- 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<T>,Collection<T>> apply(Collection<String> ruleUuids, Long newModuleVersion) Apply the filter to a given set of rules UUIDs and module version to deploy- 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
-