|
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 RegisterableTriggerInterface
An interface for triggers which can be dispatched by the RegisteredDispatcher.
Method Summary | |
---|---|
ConfigSchema |
getConfigSchema()
|
java.lang.Integer |
getId()
|
java.lang.Class[] |
getInterestedEventTypes()
Get the event classes that the trigger is interested in seeing. |
java.lang.Integer[] |
getInterestedInstanceIDs(java.lang.Class c)
Get a list of instance IDs specific to a class (as returned by getInterestedEventTypes) which the trigger is interested in seeing. |
void |
init(RegisteredTriggerValue trigger,
AlertConditionEvaluator alertConditionEvaluator)
Initialize the trigger with a value object. |
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
|
Method Detail |
---|
ConfigSchema getConfigSchema()
java.lang.Integer getId()
java.lang.Class[] getInterestedEventTypes()
java.lang.Integer[] getInterestedInstanceIDs(java.lang.Class c)
c
- Class to get the interested event IDs for
void init(RegisteredTriggerValue trigger, AlertConditionEvaluator alertConditionEvaluator) throws InvalidTriggerDataException
trigger
- The trigger data object containing all the configuration dataalertConditionEvaluator
- The evaluator to use for reporting trigger fired/trigger not fired events
InvalidTriggerDataException
- if the configuration data is invalid.boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- true to enable the trigger for event processing, false
otherwise. This state will likely match the enabled state of the
trigger's associated alert definition
|
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 |