public static class AnonymizeUserService.AnonymizeUserRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AnonymizeUserService.AnonymizeUserRequest.Builder |
asyncTaskContext(Context asyncTaskContext)
Context of the background task running the service.
|
AnonymizeUserService.AnonymizeUserRequest |
build() |
AnonymizeUserService.AnonymizeUserRequest.Builder |
executor(ApplicationUser executor)
Executor of the changes.
|
AnonymizeUserService.AnonymizeUserRequest.Builder |
newOwner(ApplicationUser newOwner)
Replace the anonymized user with this one in places
that always require an active user, e.g., project lead.
|
AnonymizeUserService.AnonymizeUserRequest.Builder |
targetUser(String userKey)
Key of the user that will be anonymized.
|
public AnonymizeUserService.AnonymizeUserRequest.Builder targetUser(String userKey)
public AnonymizeUserService.AnonymizeUserRequest.Builder newOwner(ApplicationUser newOwner)
public AnonymizeUserService.AnonymizeUserRequest.Builder executor(ApplicationUser executor)
public AnonymizeUserService.AnonymizeUserRequest.Builder asyncTaskContext(Context asyncTaskContext)
public AnonymizeUserService.AnonymizeUserRequest build()
Copyright © 2002-2019 Atlassian. All Rights Reserved.