public class UserProfileImpl extends Object implements UserProfile
| Modifier and Type | Class and Description |
|---|---|
static class |
UserProfileImpl.DefaultLink |
UserProfile.Link| Constructor and Description |
|---|
UserProfileImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation) |
| Modifier and Type | Method and Description |
|---|---|
UserProfile |
changeAutowatch(boolean autowatch)
Changes the current user's autowatch preference.
|
void |
changeDefaultSharingType(boolean global)
Changes the default sharing settings for users that have not configured any.
|
UserProfile |
changeNotifyMyChanges(boolean notify)
Changes the current user would like to be notified by their own changes.
|
void |
changeUserLanguage(String lang)
Changes the current user's language preferences.
|
void |
changeUserLanguageByValue(String langValue)
Changes the current user's language preferences by value.
|
void |
changeUserLanguageToJiraDefault()
Changes the current user's language preferences to the system default.
|
void |
changeUserNotificationType(boolean useHtml)
Changes the current user's notification preferences.
|
void |
changeUserSharingType(boolean global)
Changes the user's default sharing settings.
|
UserProfile |
changeUserTimeZone(String timeZoneID)
Changes the current user's time zone.
|
void |
gotoCurrentUserProfile()
Goto the current user's profile page.
|
void |
gotoUserProfile(String userName)
Go to the user's profile page.
|
UserProfile.Link |
link()
Retrieves the user profile link on the JIRA Header.
|
String |
userName()
Retrieves the username on the profile for the currently logged in user.
|
@Inject
public UserProfileImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation)
public String userName()
UserProfileuserName in interface UserProfilepublic UserProfile.Link link()
UserProfilelink in interface UserProfilepublic void changeUserNotificationType(boolean useHtml)
UserProfilechangeUserNotificationType in interface UserProfileuseHtml - Set to True for HTML notifications, False for plain text notificationspublic void changeUserSharingType(boolean global)
UserProfilechangeUserSharingType in interface UserProfileglobal - true if default sharing should be public, false otherwise.public void changeDefaultSharingType(boolean global)
UserProfilechangeDefaultSharingType in interface UserProfileglobal - true if default sharing should be public, false otherwise.public void changeUserLanguage(String lang)
UserProfilechangeUserLanguage in interface UserProfilelang - the full language text to change to e.g. "German (Germany)"public void changeUserLanguageByValue(String langValue)
UserProfileUserProfile.changeUserLanguageToJiraDefault()changeUserLanguageByValue in interface UserProfilelangValue - the language value to change to e.g. "en_AU"public void changeUserLanguageToJiraDefault()
UserProfilechangeUserLanguageToJiraDefault in interface UserProfilepublic void gotoCurrentUserProfile()
UserProfilegotoCurrentUserProfile in interface UserProfilepublic void gotoUserProfile(String userName)
UserProfilegotoUserProfile in interface UserProfileuserName - The user name of the other user.public UserProfile changeUserTimeZone(String timeZoneID)
UserProfilechangeUserTimeZone in interface UserProfilepublic UserProfile changeNotifyMyChanges(boolean notify)
UserProfilechangeNotifyMyChanges in interface UserProfilepublic UserProfile changeAutowatch(boolean autowatch)
UserProfilechangeAutowatch in interface UserProfileautowatch - true if autowatch should be enabledCopyright © 2002-2022 Atlassian. All Rights Reserved.