@Deprecated public class User extends Object implements Entity, TitledContent, LinkableContent
Modifier and Type | Class and Description |
---|---|
static class |
User.Simpsons
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static User |
ADMIN
Deprecated.
|
static User |
ANONYMOUS
Deprecated.
Represents anonymous users, i.e.
|
static User |
APOSTROPHE
Deprecated.
A sample test user that contains an apostrophe in the username and fullname.
|
static User |
CONF_ADMIN
Deprecated.
A sample administrator user.
|
static User |
EVIL
Deprecated.
A sample test user that contains html markup in the username and fullname.
|
static User |
LDAP_USER1
Deprecated.
A sample test user whose username contains every non-alphanumeric character on a standard keyboard.
|
static String |
PROPERTY_USER_EMAIL_MIMETYPE
Deprecated.
|
static String |
PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS
Deprecated.
|
static String |
PROPERTY_USER_SITE_HOMEPAGE
Deprecated.
|
static User |
SPECIAL_CHARS
Deprecated.
|
static User |
SYS_ADMIN
Deprecated.
|
static User |
TEST
Deprecated.
since 5.6. Use a user generated specifically for your test, e.g. from
AcceptanceTestHelper.createTestUser() |
static User |
TEST2
Deprecated.
since 5.6. Use a user generated specifically for your test, e.g. from
AcceptanceTestHelper.createTestUser() |
static User |
UNICODE
Deprecated.
|
Constructor and Description |
---|
User(String username,
String password,
String fullName,
String email)
Deprecated.
Constructs a fully formed User object with all fields set.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
String |
getDisplayName()
Deprecated.
Returns the display name of the Entity, eg full name for Users.
|
String |
getEmail()
Deprecated.
|
String |
getFullName()
Deprecated.
|
String |
getName()
Deprecated.
Returns the Entity name.
|
String |
getNameField()
Deprecated.
Returns the name of the field that stores the Entity name.
|
String |
getPassword()
Deprecated.
|
String |
getTitle()
Deprecated.
|
String |
getUrl()
Deprecated.
|
UrlBuilder |
getUrlBuilder()
Deprecated.
|
String |
getUsername()
Deprecated.
|
String |
getUserPopupUrl()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isAnonymous()
Deprecated.
|
String |
toString()
Deprecated.
|
public static final String PROPERTY_USER_SITE_HOMEPAGE
public static final String PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS
public static final String PROPERTY_USER_EMAIL_MIMETYPE
public static final User ANONYMOUS
public static final User CONF_ADMIN
PropertiesManager
.public static final User SYS_ADMIN
public static final User ADMIN
@Deprecated public static final User TEST
AcceptanceTestHelper.createTestUser()
PropertiesManager
.@Deprecated public static final User TEST2
AcceptanceTestHelper.createTestUser()
PropertiesManager
.public static final User EVIL
PropertiesManager
.public static final User APOSTROPHE
public static User LDAP_USER1
PropertiesManager
public static final User SPECIAL_CHARS
public static final User UNICODE
public User(String username, String password, String fullName, String email)
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.public String getUsername()
public String getName()
Entity
public String getNameField()
Entity
getNameField
in interface Entity
public String getPassword()
public String getFullName()
public String getDisplayName()
Entity
getDisplayName
in interface Entity
public String getEmail()
public String getUserPopupUrl()
public boolean isAnonymous()
public String getTitle()
getTitle
in interface TitledContent
public String getUrl()
getUrl
in interface LinkableContent
public UrlBuilder getUrlBuilder()
getUrlBuilder
in interface LinkableContent
Copyright © 2003–2017 Atlassian. All rights reserved.