public class PostAlertEvent extends AlertMonitorEvent
AlertMonitorListener
for more details.)Constructor and Description |
---|
PostAlertEvent(java.lang.Object source,
RuleBaseStatus r,
long alertID,
long time,
boolean rbChanged,
boolean rbeChanged,
int rbeState,
java.lang.String text,
int state,
boolean isRetrans,
java.util.Properties prop) |
Modifier and Type | Method and Description |
---|---|
int |
getAlertState()
The alert state.
|
java.lang.String |
getAlertText()
The alert text.
|
java.util.Properties |
getProperties()
The alert properties.
|
boolean |
isRetransmittedAlert()
Indicates whether or not this PostAlertEvent represents a retransmitted alert.
|
getAlertID, getRuleBaseEngineState, getTimeGenerated, mapAlertState, ruleBaseEngineStateChanged, ruleBaseStateChanged
getRuleBaseStatus
getAgentInstance
public PostAlertEvent(java.lang.Object source, RuleBaseStatus r, long alertID, long time, boolean rbChanged, boolean rbeChanged, int rbeState, java.lang.String text, int state, boolean isRetrans, java.util.Properties prop)
public java.lang.String getAlertText()
public int getAlertState()
public java.util.Properties getProperties()
Rule
- identifies the rule that generated this alert
Test
- identifies the test that generated this alert
DataSource
- identifies the data source used by the test to generate this alert
DataIndex
- identifies the data index used by the test to generate this alert
Action
- identifies the specific test's action that generated this alert
public boolean isRetransmittedAlert()
PostAlertEvents are delivered to AlertMonitorListener objects. Depending
on your application, retransmitted alerts may require special handling.
(See
AlertMonitorListener
for more details.)
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.