|
|||||||||
| 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
public class NotifTarget
A NotificationTarget representing another notifcation group parsed from the notifications.xml.
| Field Summary |
|---|
| 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 | |
|---|---|
String |
getInterval()
Returns the interval to use for this target. |
Notification |
getNotification()
Returns the notification for this target |
String |
getNotifName()
Returns the name of the notification |
int |
getType()
Returns the type of the target |
void |
setInterval(String interval)
Sets the overriding interval for this target |
void |
setNotification(Notification notification)
Sets the Notification object for this target |
void |
setNotifName(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 |
| Constructor Detail |
|---|
public NotifTarget()
| Method Detail |
|---|
public void setNotifName(String name)
name - the name of the notification target to be set.public String getNotifName()
public void setNotification(Notification notification)
notification - the notification object to be set.public Notification getNotification()
public void setInterval(String interval)
interval - the overriding interval to be set.public String getInterval()
public int getType()
getType in class NotificationTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||