Interface TmaPolicyEngine

All Known Implementing Classes:
DefaultTmaPolicyEngine

public interface TmaPolicyEngine
Engine used to retrieve a list of RuleEvaluationResult containing actions from valid policies and the list of context necessary to apply the actions
Since:
1907
  • Method Details

    • findPolicies

      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 contexts
      actionTypes - the given action types
      Returns:
      a list of RuleEvaluationResult
    • applyActions

      void applyActions(Set<RuleEvaluationResult> ruleEvaluationResults)
      Apply each action from the results received as input
      Parameters:
      ruleEvaluationResults - the results containing the actions to be applied