public interface UserProfile
Modifier and Type | Interface and Description |
---|---|
static interface |
UserProfile.Link |
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.
|
void changeUserNotificationType(boolean useHtml)
useHtml
- Set to True for HTML notifications, False for plain text notificationsvoid changeUserSharingType(boolean global)
global
- true if default sharing should be public, false otherwise.void changeDefaultSharingType(boolean global)
global
- true if default sharing should be public, false otherwise.void changeUserLanguage(String lang)
lang
- the full language text to change to e.g. "German (Germany)"void changeUserLanguageByValue(String langValue)
Note that the JIRA (not system) default will have a value of -1. Consider
changeUserLanguageToJiraDefault()
langValue
- the language value to change to e.g. "en_AU"void changeUserLanguageToJiraDefault()
void gotoCurrentUserProfile()
void gotoUserProfile(String userName)
userName
- The user name of the other user.UserProfile changeUserTimeZone(String timeZoneID)
timeZoneID@return
- thisUserProfile changeNotifyMyChanges(boolean notify)
notify
- UserProfile changeAutowatch(boolean autowatch)
autowatch
- true if autowatch should be enabledString userName()
UserProfile.Link link()
Copyright © 2002-2016 Atlassian. All Rights Reserved.