Interface TmaPolicyEngine
-
- All Known Implementing Classes:
DefaultTmaPolicyEngine
public interface TmaPolicyEngineEngine used to retrieve a list ofRuleEvaluationResultcontaining actions from valid policies and the list of context necessary to apply the actions- Since:
- 1907
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyActions(java.util.Set<RuleEvaluationResult> ruleEvaluationResults)Apply each action from the results received as inputjava.util.Set<RuleEvaluationResult>findPolicies(java.util.List<TmaPolicyContext> contexts, java.util.Set<TmaCompatibilityPolicyActionType> actionTypes)Retrieves a list of rule evaluation results, each result having an action to be applied and the list of contexts needed for the action to be applied
-
-
-
Method Detail
-
findPolicies
java.util.Set<RuleEvaluationResult> findPolicies(java.util.List<TmaPolicyContext> contexts, java.util.Set<TmaCompatibilityPolicyActionType> actionTypes)
Retrieves a list of rule evaluation results, each result having an action to be applied and the list of contexts needed for the action to be applied- Parameters:
contexts- the given contextsactionTypes- the given action types- Returns:
- a list of
RuleEvaluationResult
-
applyActions
void applyActions(java.util.Set<RuleEvaluationResult> ruleEvaluationResults)
Apply each action from the results received as input- Parameters:
ruleEvaluationResults- the results containing the actions to be applied
-
-