|
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.web.notification.bobject.NotificationTarget
org.opennms.web.notification.bobject.NotifTarget
A NotificationTarget representing another notifcation group parsed from the notifications.xml.
Field Summary | |
private java.lang.String |
m_interval
The overriding interval, takes precedence over the Notification interval. |
private Notification |
m_notification
The Notification object associated with this target |
private java.lang.String |
m_notifName
The name of the notification |
Fields inherited from class org.opennms.web.notification.bobject.NotificationTarget |
TARGET_TYPE_GROUP, TARGET_TYPE_NOTIF, TARGET_TYPE_USER |
Constructor Summary | |
NotifTarget()
Default Constructor |
Method Summary | |
java.lang.String |
getInterval()
Returns the interval to use for this target. |
Notification |
getNotification()
Returns the notification for this target |
java.lang.String |
getNotifName()
Returns the name of the notification |
int |
getType()
Returns the type of the target |
void |
setInterval(java.lang.String interval)
Sets the overriding interval for this target |
void |
setNotification(Notification notification)
Sets the Notification object for this target |
void |
setNotifName(java.lang.String name)
Sets the name of the notification target |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String m_notifName
private Notification m_notification
private java.lang.String m_interval
Constructor Detail |
public NotifTarget()
Method Detail |
public void setNotifName(java.lang.String name)
name
- the name of the notification target to be set.public java.lang.String getNotifName()
public void setNotification(Notification notification)
notification
- the notification object to be set.public Notification getNotification()
public void setInterval(java.lang.String interval)
interval
- the overriding interval to be set.public java.lang.String getInterval()
public int getType()
getType
in class NotificationTarget
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |