|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.notifd.GrowlNotificationStrategy
Implements NotificationStrategy pattern used to send notifications using the Growl message protocol. This is basically a clone of the XMPP implementation.
Field Summary | |
private static int |
Growl_MAX
The value of this constant indicates the number of Growl constants defined. |
private static int |
Growl_MESSAGE
Text of Growl Message to be sent. |
private static int |
Growl_SUBJECT
|
private static int |
Growl_UEI
|
private static java.lang.String[] |
INDEX_TO_NAME
Mapping of index values to meaningful strings. |
private org.apache.log4j.Category |
log
|
private java.util.Properties |
props
|
Constructor Summary | |
GrowlNotificationStrategy()
|
Method Summary | |
private java.lang.String[] |
parseArguments(java.util.List arguments)
This method extracts the message text from the parameters passed in the notification. |
int |
send(java.util.List arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int Growl_MESSAGE
private static final int Growl_UEI
private static final int Growl_SUBJECT
private static final int Growl_MAX
private static final java.lang.String[] INDEX_TO_NAME
private java.util.Properties props
private org.apache.log4j.Category log
Constructor Detail |
public GrowlNotificationStrategy()
Method Detail |
public int send(java.util.List arguments)
send
in interface NotificationStrategy
private java.lang.String[] parseArguments(java.util.List arguments) throws java.lang.Exception
arguments
-
java.lang.Exception
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |