|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.alert.AlertSender<T>
public abstract class AlertSender<T extends ServerPluginComponent>
Abstract base class for all Alert senders. In order to implement your AlertSender, you need to at least overwrite #send(). When the AlertSenderManager constructs this object, it will inject the preferences for your specific alert sender type. For each Alert a new instance of your implementation will be called and destroyed afterwards.
| Field Summary | |
|---|---|
protected Configuration |
alertParameters
Configuration from the per alert definition parameters |
protected T |
pluginComponent
Global component holding persistent resources |
protected Configuration |
preferences
Configuration from the global per plugin type preferences |
| Constructor Summary | |
|---|---|
AlertSender()
|
|
| Method Summary | |
|---|---|
abstract SenderResult |
send(Alert alert)
This method is called to actually send an alert notification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Configuration preferences
protected Configuration alertParameters
protected T extends ServerPluginComponent pluginComponent
| Constructor Detail |
|---|
public AlertSender()
| Method Detail |
|---|
public abstract SenderResult send(Alert alert)
alert - the Alert to operate on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||