|
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.GroupTarget
A NotificationTarget representing a user target parsed from the notifications.xml.
Field Summary | |
private java.lang.String |
m_commandName
The command name to use to contact this user |
private java.lang.String |
m_groupName
The userId of the target |
private java.util.List |
m_userTargets
The User object associated with this target |
Fields inherited from class org.opennms.web.notification.bobject.NotificationTarget |
TARGET_TYPE_GROUP, TARGET_TYPE_NOTIF, TARGET_TYPE_USER |
Constructor Summary | |
GroupTarget()
Default Constructor |
Method Summary | |
void |
addUserTarget(UserTarget target)
Adds a user target to this group target |
java.lang.String |
getCommandName()
Returns the command name for this target |
java.lang.String |
getGroupName()
Returns the userId for this target |
int |
getType()
Returns the type of the target |
java.util.List |
getUserTargets()
Returns the list of UserTargets in this group target |
void |
setCommandName(java.lang.String commandName)
Sets the command name for this target |
void |
setGroupName(java.lang.String name)
Sets the userId for this 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_groupName
private java.util.List m_userTargets
private java.lang.String m_commandName
Constructor Detail |
public GroupTarget()
Method Detail |
public void setGroupName(java.lang.String name)
name
- the group name.public java.lang.String getGroupName()
public void setCommandName(java.lang.String commandName)
commandName
- the command name.public java.lang.String getCommandName()
public void addUserTarget(UserTarget target)
target
- a user target to be added.public java.util.List getUserTargets()
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 |