|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlertConditionEvaluator
Evaluates whether or not an alert should fire when a specific event causes a single alert condition to evaluate to true or false
Method Summary | |
---|---|
java.lang.Integer |
getAlertDefinitionId()
|
ExecutionStrategy |
getExecutionStrategy()
|
java.io.Serializable |
getState()
|
void |
initialize(java.io.Serializable initialState)
Initializes this evaluator |
void |
triggerFired(TriggerFiredEvent event)
A trigger was fired, indicating an alert condition evaluated to true |
void |
triggerNotFired(TriggerNotFiredEvent event)
A trigger was not fired, indicating that an alert condition evaluated to false |
Method Detail |
---|
java.lang.Integer getAlertDefinitionId()
ExecutionStrategy getExecutionStrategy()
ExecutionStrategy
used by this evaluator to fire alert condition satisfied eventsjava.io.Serializable getState()
void initialize(java.io.Serializable initialState)
initialState
- Any state that was saved by the evaluator with this alertDefinitionId the last time the server was shutdown. May be null if no state saved.void triggerFired(TriggerFiredEvent event)
event
- The TriggerFiredEvent
representing the data that
caused the condition to evaluate to truevoid triggerNotFired(TriggerNotFiredEvent event)
event
- The TriggerNotFiredEvent
representing the data that
caused the condition to evaluate to true
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |