Package COM.TIBCO.hawk.console.hawkeye
Class ClearAlertEvent
java.lang.Object
java.util.EventObject
COM.TIBCO.hawk.console.hawkeye.MonitorEvent
COM.TIBCO.hawk.console.hawkeye.RuleBaseMonitorEvent
COM.TIBCO.hawk.console.hawkeye.AlertMonitorEvent
COM.TIBCO.hawk.console.hawkeye.ClearAlertEvent
- All Implemented Interfaces:
Serializable
ClearAlertEvents are generated when a rulebase loaded in the agent's rulebase engine
sends a clear event.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionClearAlertEvent(Object source, RuleBaseStatus r, long alertID, long time, boolean rbChanged, boolean rbeChanged, int rbeState, String text, int reason) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGiven a PostAlertEvent, this method returns true if this ClearAlertEvent matches or "clears" the previously posted alert.Methods inherited from class COM.TIBCO.hawk.console.hawkeye.AlertMonitorEvent
getAlertID, getRuleBaseEngineState, getTimeGenerated, mapAlertState, ruleBaseEngineStateChanged, ruleBaseStateChangedMethods inherited from class COM.TIBCO.hawk.console.hawkeye.RuleBaseMonitorEvent
getRuleBaseStatusMethods inherited from class COM.TIBCO.hawk.console.hawkeye.MonitorEvent
getAgentInstanceMethods inherited from class java.util.EventObject
getSource, toString
-
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
-
match
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:
-