Class UserAnonymizeControl
java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<UserAnonymizeControl>
com.atlassian.jira.testkit.client.BackdoorControl<UserAnonymizeControl>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<UserAnonymizeControl>
com.atlassian.jira.functest.framework.backdoor.UserAnonymizeControl
Use this class from func/selenium/page-object tests that need to perform user anonymization process.
- Since:
- v8.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
-
Field Summary
Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl
API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath
Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient
REST_VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanonymize
(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey) anonymizeWithValidationError
(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey) getExternalId
(String userName) Uses internal REST API to retrieve process of the last task scheduled usingscheduleUserAnonymization(String, String)
orscheduleUserAnonymizationRerun(String, String, String, String)
getProgress
(long taskId) Uses internal REST API to retrieve process of a task with the given id that was scheduled using orscheduleUserAnonymizationRerun(String, String, String, String)
void
scheduleUserAnonymization
(String userKey, String newOwnerKey) Uses internal REST API to schedule anonymization process whose progress can be retrieved usinggetProgress()
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 usinggetProgress()
validateUserAnonymization
(String userKey, String expand) Uses internal REST API to validate user anonymization requestvalidateUserAnonymizationRerun
(String userKey, String oldUserKey, String oldUserName, String expand) Uses internal REST API to validate user anonymization requestMethods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource
Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl
createResourceForPath, createResourceForPath, get, getRestModulePath
Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient
anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider
-
Constructor Details
-
UserAnonymizeControl
-
-
Method Details
-
anonymize
-
anonymize
public UserAnonymizeControl.AnonymizePerformResult anonymize(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey) -
anonymizeWithValidationError
public UserAnonymizeControl.AnonymizePerformResultValidationError anonymizeWithValidationError(String userKey, boolean rerunPluginPoints, String oldUserKey, String oldUserName, String newOwnerKey) -
validateUserAnonymization
Uses internal REST API to validate user anonymization request -
validateUserAnonymizationRerun
public UserAnonymizationValidationBean validateUserAnonymizationRerun(String userKey, @Nullable String oldUserKey, @Nullable String oldUserName, String expand) Uses internal REST API to validate user anonymization request -
scheduleUserAnonymization
Uses internal REST API to schedule anonymization process whose progress can be retrieved usinggetProgress()
-
scheduleUserAnonymizationRerun
public 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 usinggetProgress()
-
getProgress
Uses internal REST API to retrieve process of the last task scheduled usingscheduleUserAnonymization(String, String)
orscheduleUserAnonymizationRerun(String, String, String, String)
-
getProgress
Uses internal REST API to retrieve process of a task with the given id that was scheduled using orscheduleUserAnonymizationRerun(String, String, String, String)
-
fetchFinishedProgressResult
-
getExternalId
-