|
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 ExecutionStrategy
Method Summary | |
---|---|
void |
configure(GalertDefPartition partition,
java.lang.String defName,
java.util.List triggers)
Inform the strategy about the state in which it is running. |
GalertDefPartition |
getPartition()
|
void |
reset()
Reset the internal state of the execution strategy. |
void |
setDefinitionName(java.lang.String defName)
Called when the name of the definition to which the strategy is bound has been changed |
ExecutionReason |
shouldFire()
Determine if the execution strategy should fire. |
void |
triggerFired(Gtrigger trigger,
FireReason reason)
Called when a trigger has fired. |
void |
triggerNotFired(Gtrigger trigger)
Called when a condition is no longer firing (i.e. |
Method Detail |
---|
ExecutionReason shouldFire()
void reset()
#configure(String, List)
, only
the internal state (such as time of last fired trigger, etc.)
This method will be invoked after the alert definition has fired and
needs to be reset.
void configure(GalertDefPartition partition, java.lang.String defName, java.util.List triggers)
void setDefinitionName(java.lang.String defName)
void triggerFired(Gtrigger trigger, FireReason reason)
void triggerNotFired(Gtrigger trigger)
GalertDefPartition getPartition()
|
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 |