|
|||||||||
| 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
public class GroupTarget
A NotificationTarget representing a user target 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 | |
|---|---|
GroupTarget()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
addUserTarget(UserTarget target)
Adds a user target to this group target |
String |
getCommandName()
Returns the command name for this target |
String |
getGroupName()
Returns the userId for this target |
int |
getType()
Returns the type of the target |
List<UserTarget> |
getUserTargets()
Returns the list of UserTargets in this group target |
void |
setCommandName(String commandName)
Sets the command name for this target |
void |
setGroupName(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 |
| Constructor Detail |
|---|
public GroupTarget()
| Method Detail |
|---|
public void setGroupName(String name)
name - the group name.public String getGroupName()
public void setCommandName(String commandName)
commandName - the command name.public String getCommandName()
public void addUserTarget(UserTarget target)
target - a user target to be added.public List<UserTarget> getUserTargets()
public int getType()
getType in class NotificationTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||