|
|||||||||
| 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.UserTarget
public class UserTarget
A NotificationTarget representing a user target parsed from the notifications xml file.
| Field Summary |
|---|
| Fields inherited from class org.opennms.web.notification.bobject.NotificationTarget |
|---|
TARGET_TYPE_GROUP, TARGET_TYPE_NOTIF, TARGET_TYPE_USER |
| Constructor Summary | |
|---|---|
UserTarget()
Default Constructor |
|
| Method Summary | |
|---|---|
Command |
getCommand()
Returns the Command object for this target |
String |
getCommandName()
Returns the command name for this target |
int |
getType()
Returns the type of the target |
User |
getUser()
Returns the User object for this target |
String |
getUserName()
Returns the userId for this target |
void |
setCommand(Command command)
Sets the Command object for this target |
void |
setCommandName(String commandName)
Sets the command name for this target |
void |
setUser(User user)
Sets the User object for this target |
void |
setUserName(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 UserTarget()
| Method Detail |
|---|
public void setUserName(String name)
name - the username to be set.public String getUserName()
public void setUser(User user)
user - the user object to be set.public User getUser()
public void setCommandName(String commandName)
commandName - the command name to be set.public String getCommandName()
public void setCommand(Command command)
command - the command to be set.public Command getCommand()
public int getType()
getType in class NotificationTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||