Class ClearAlertEvent

All Implemented Interfaces:
Serializable

public class ClearAlertEvent extends AlertMonitorEvent
ClearAlertEvents are generated when a rulebase loaded in the agent's rulebase engine sends a clear event.
See Also:
  • Constructor Details

    • ClearAlertEvent

      public ClearAlertEvent(Object source, RuleBaseStatus r, long alertID, long time, boolean rbChanged, boolean rbeChanged, int rbeState, String text, int reason)
  • Method Details

    • getReasonClearedText

      public String getReasonClearedText()
    • match

      public boolean match(PostAlertEvent p)
      Given a PostAlertEvent, this method returns true if this ClearAlertEvent matches or "clears" the previously posted alert.

      A ClearAlertEvent will match a PostAlertEvent if they both have the same AgentInstance source and the same alert id.

      A single ClearAlertEvent may match multiple PostAlertEvents if they are duplicate alerts.

      Returns:
      true if there is a match
      See Also: