public class ClearAlertEvent extends AlertMonitorEvent
| Constructor and Description |
|---|
ClearAlertEvent(java.lang.Object source,
RuleBaseStatus r,
long alertID,
long time,
boolean rbChanged,
boolean rbeChanged,
int rbeState,
java.lang.String text,
int reason) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReasonClearedText() |
boolean |
match(PostAlertEvent p)
Given a PostAlertEvent, this method returns true if this ClearAlertEvent
matches or "clears" the previously posted alert.
|
getAlertID, getRuleBaseEngineState, getTimeGenerated, mapAlertState, ruleBaseEngineStateChanged, ruleBaseStateChangedgetRuleBaseStatusgetAgentInstancepublic ClearAlertEvent(java.lang.Object source,
RuleBaseStatus r,
long alertID,
long time,
boolean rbChanged,
boolean rbeChanged,
int rbeState,
java.lang.String text,
int reason)
public java.lang.String getReasonClearedText()
public boolean match(PostAlertEvent p)
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.
Copyright © 2000-2021 TIBCO Inc. All Rights Reserved.