public class UserProfileControl extends BackdoorControl<UserProfileControl>
Constructor and Description |
---|
UserProfileControl(JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
changeUserAutoWatch(Boolean autoWatchValue,
String username)
Changes the given user's autowatch value.
|
void |
changeUserLanguage(String username,
String language)
Changes the given user's language to the supplied language
|
void |
changeUserNotificationType(String username,
String format)
Changes the given user's email format to the one supplied.
|
String |
getAvatarUrl(String username) |
List<String> |
getCustomAvatarIds(String username) |
createResource
createResourceForPath, createResourceForPath, get, getRestModulePath
public UserProfileControl(JIRAEnvironmentData environmentData)
public void changeUserNotificationType(String username, String format)
username
- the user to change the email format forformat
- either "html" or "text"public void changeUserLanguage(String username, String language)
username
- the user to change the email format forlanguage
- the language the user's profile will be updated topublic void changeUserAutoWatch(Boolean autoWatchValue, String username)
autoWatchValue
- autowatch value. Can pass null, no autowatch preference.username
- the user to change the autowatch value.Copyright © 2002-2015 Atlassian. All Rights Reserved.