public class UserAnonymizeControl extends BackdoorControl<UserAnonymizeControl>
Modifier and Type | Class and Description |
---|---|
static class |
UserAnonymizeControl.AnonymizePerformResult |
static class |
UserAnonymizeControl.AnonymizePerformResultValidationError |
Constructor and Description |
---|
UserAnonymizeControl(JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
UserAnonymizeControl.AnonymizePerformResult |
anonymize(String userKey,
boolean rerunPluginPoints,
String oldUserKey,
String oldUserName,
String newOwnerKey) |
UserAnonymizeControl.AnonymizePerformResultValidationError |
anonymizeWithValidationError(String userKey,
boolean rerunPluginPoints,
String oldUserKey,
String oldUserName,
String newOwnerKey) |
String |
getExternalId(String userName) |
UserAnonymizationProgressBean |
getProgress()
Uses internal REST API to retrieve process of the last task scheduled using
scheduleUserAnonymization(String, String, boolean, String, String) |
UserAnonymizationProgressBean |
getProgress(long taskId)
Uses internal REST API to retrieve process of a task with the given id that was scheduled using
scheduleUserAnonymization(String, String, boolean, String, String) |
void |
scheduleUserAnonymization(String userKey)
Uses internal REST API to schedule anonymization process whose progress can be retrieved using
getProgress() |
void |
scheduleUserAnonymization(String userKey,
String newOwnerKey)
Uses internal REST API to schedule anonymization process whose progress can be retrieved using
getProgress() |
void |
scheduleUserAnonymization(String userKey,
String newOwnerKey,
boolean rerunPluginPoints,
String oldUserKey,
String oldUserName)
Uses internal REST API to schedule anonymization process whose progress can be retrieved using
getProgress() |
UserAnonymizationValidationBean |
validateUserAnonymization(String userKey)
Uses internal REST API to validate user anonymization request
|
createResource
createResourceForPath, createResourceForPath, get, getRestModulePath
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public UserAnonymizeControl(JIRAEnvironmentData environmentData)
public UserAnonymizeControl.AnonymizePerformResult anonymize(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey)
public UserAnonymizeControl.AnonymizePerformResultValidationError anonymizeWithValidationError(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey)
public UserAnonymizationValidationBean validateUserAnonymization(String userKey)
public void scheduleUserAnonymization(String userKey)
getProgress()
public void scheduleUserAnonymization(String userKey, String newOwnerKey)
getProgress()
public void scheduleUserAnonymization(String userKey, String newOwnerKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName)
getProgress()
public UserAnonymizationProgressBean getProgress()
scheduleUserAnonymization(String, String, boolean, String, String)
public UserAnonymizationProgressBean getProgress(long taskId)
scheduleUserAnonymization(String, String, boolean, String, String)
Copyright © 2002-2019 Atlassian. All Rights Reserved.