com.atlassian.confluence.it
Class UserWithKey
java.lang.Object
com.atlassian.confluence.it.User
com.atlassian.confluence.it.UserWithKey
- All Implemented Interfaces:
- Entity, LinkableContent, TitledContent
public class UserWithKey
- extends User
The login details of a given user.
| Nested classes/interfaces inherited from class com.atlassian.confluence.it.User |
User.Simpsons |
| Fields inherited from class com.atlassian.confluence.it.User |
ADMIN, ANONYMOUS, APOSTROPHE, CONF_ADMIN, EVIL, LDAP_USER1, PROPERTY_USER_EMAIL_MIMETYPE, PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS, PROPERTY_USER_SITE_HOMEPAGE, SPECIAL_CHARS, SYS_ADMIN, TEST, TEST2, UNICODE |
| Methods inherited from class com.atlassian.confluence.it.User |
getDisplayName, getEmail, getFullName, getName, getNameField, getPassword, getTitle, getUrl, getUrlBuilder, getUsername, getUserPopupUrl, isAnonymous |
UserWithKey
public UserWithKey(String key,
String username,
String password,
String fullName,
String email)
- Constructs a fully formed User object with all fields set.
- Parameters:
key - the id of the user.username - the name the user uses to log into the system.password - in plain text, the password the user uses to log into the system.fullName - the user's full name.email - the user's email address.
getKey
public String getKey()
equals
public boolean equals(Object o)
- Overrides:
equals in class User
hashCode
public int hashCode()
- Overrides:
hashCode in class User
toString
public String toString()
- Overrides:
toString in class User
Copyright © 2003–2015 Atlassian. All rights reserved.