Adding Custom Evaluation Logic

IAlertTaskManager is an interface that allows you to customize the evaluation logic of limits. You can customize the post-evaluation logic performed by IAlertTaskManager by overriding the postEvaluation method:

/**
   * Operations to perform after the evaluation of all limits.
   *
   * @param incidents the incidents resulting from the evaluation
   */
  void postEvaluation(Collection<IncidentDTO> incidents);

This method is invoked after all limits have been evaluated, but prior to the results being returned, so it provides an opportunity to hook into and do any post-processing of the evaluation results before they are presented to users.