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) |
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) |
UserAnonymizationProgressBean |
fetchFinishedProgressResult() |
String |
getExternalId(String userName) |
UserAnonymizationProgressBean |
getProgress()
Uses internal REST API to retrieve process of the last task scheduled using
scheduleUserAnonymization(String, String) or scheduleUserAnonymizationRerun(String, String, String, String) |
UserAnonymizationProgressBean |
getProgress(long taskId)
Uses internal REST API to retrieve process of a task with the given id that was scheduled using or
scheduleUserAnonymizationRerun(String, String, String, String) |
void |
scheduleUserAnonymization(String userKey,
String newOwnerKey)
Uses internal REST API to schedule anonymization process whose progress can be retrieved using
getProgress() |
void |
scheduleUserAnonymizationRerun(String userKey,
String newOwnerKey,
String oldUserKey,
String oldUserName)
Uses internal REST API to schedule rerun of anonymization process whose progress can be retrieved using
getProgress() |
UserAnonymizationValidationBean |
validateUserAnonymization(String userKey,
String expand)
Uses internal REST API to validate user anonymization request
|
UserAnonymizationValidationBean |
validateUserAnonymizationRerun(String userKey,
String oldUserKey,
String oldUserName,
String expand)
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)
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, String expand)
public UserAnonymizationValidationBean validateUserAnonymizationRerun(String userKey, @Nullable String oldUserKey, @Nullable String oldUserName, String expand)
public void scheduleUserAnonymization(String userKey, String newOwnerKey)
getProgress()
public void scheduleUserAnonymizationRerun(String userKey, String newOwnerKey, String oldUserKey, String oldUserName)
getProgress()
public UserAnonymizationProgressBean getProgress()
scheduleUserAnonymization(String, String)
or scheduleUserAnonymizationRerun(String, String, String, String)
public UserAnonymizationProgressBean getProgress(long taskId)
scheduleUserAnonymizationRerun(String, String, String, String)
@Nonnull public UserAnonymizationProgressBean fetchFinishedProgressResult()
Copyright © 2002-2023 Atlassian. All Rights Reserved.