|
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 |
java.lang.Objectorg.hyperic.hq.measurement.action.MetricAlertAction
public class MetricAlertAction
Log the fact that an alert was generated due to some measurement
Constructor Summary | |
---|---|
MetricAlertAction()
|
Method Summary | |
---|---|
java.lang.String |
execute(AlertInterface aIface,
ActionExecutionInfo info)
Execute the action. |
ConfigResponse |
getConfigResponse()
Get the configuration response for the action based on its properties |
ConfigSchema |
getConfigSchema()
Get the configuration schema for the action |
java.lang.String |
getImplementor()
Return the name of the class that implements the action |
void |
init(ConfigResponse config)
Initialize the action instance |
void |
setImplementor(java.lang.String implementor)
Allow implementor to be overwritten |
void |
setParentActionConfig(AppdefEntityID aeid,
ConfigResponse config)
Inherit configuration from parent action |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricAlertAction()
Method Detail |
---|
public java.lang.String execute(AlertInterface aIface, ActionExecutionInfo info) throws ActionExecuteException
ActionInterface
execute
in interface ActionInterface
AlertActionLog
ActionExecuteException
public ConfigSchema getConfigSchema()
ActionConfigInterface
getConfigSchema
in interface ActionConfigInterface
public ConfigResponse getConfigResponse() throws InvalidOptionException, InvalidOptionValueException
ActionConfigInterface
getConfigResponse
in interface ActionConfigInterface
InvalidOptionException
InvalidOptionValueException
public void init(ConfigResponse config)
ActionConfigInterface
init
in interface ActionConfigInterface
config
- configuration propertiespublic java.lang.String getImplementor()
ActionConfigInterface
getImplementor
in interface ActionConfigInterface
public void setImplementor(java.lang.String implementor)
ActionConfigInterface
setImplementor
in interface ActionConfigInterface
public void setParentActionConfig(AppdefEntityID aeid, ConfigResponse config)
ActionInterface
setParentActionConfig
in interface ActionInterface
|
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 |