|
OpenNMS API 1.1.4 | |||||||||
| 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
A NotificationTarget representing a user target parsed from the notifications xml file.
| Field Summary | |
private Command |
m_command
The Command object to use to contact this user |
private java.lang.String |
m_commandName
The command name to use to contact this user |
private User |
m_user
The User object associated with this target |
private java.lang.String |
m_userName
The userId of the target |
| 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 |
java.lang.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 |
java.lang.String |
getUserName()
Returns the userId for this target |
void |
setCommand(Command command)
Sets the Command object for this target |
void |
setCommandName(java.lang.String commandName)
Sets the command name for this target |
void |
setUser(User user)
Sets the User object for this target |
void |
setUserName(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_userName
private User m_user
private java.lang.String m_commandName
private Command m_command
| Constructor Detail |
public UserTarget()
| Method Detail |
public void setUserName(java.lang.String name)
name - the username to be set.public java.lang.String getUserName()
public void setUser(User user)
user - the user object to be set.public User getUser()
public void setCommandName(java.lang.String commandName)
commandName - the command name to be set.public java.lang.String getCommandName()
public void setCommand(Command command)
command - the command to be set.public Command getCommand()
public int getType()
getType in class NotificationTarget
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||