public static final class AnonymizeUserService.AnonymizeProcessData.Builder extends Object
public AnonymizeUserService.AnonymizeProcessData.Builder user(@Nullable ApplicationUser user)
user
- User to anonymizepublic AnonymizeUserService.AnonymizeProcessData.Builder userDeletedExternally(boolean userDeletedExternally)
userDeletedExternally
- Flag indicating if user has been deleted externally.public AnonymizeUserService.AnonymizeProcessData.Builder userDeleted(boolean userDeleted)
userDeleted
- Flag indicating if user has been deleted from Jira.UserManager.isUserDeleted(ApplicationUser)
public AnonymizeUserService.AnonymizeProcessData.Builder userNameAlreadyAnonymized(boolean userNameAlreadyAnonymized)
userNameAlreadyAnonymized
- Flag indicating if user name is already anonymized.public AnonymizeUserService.AnonymizeProcessData.Builder userKeyAlreadyAnonymized(boolean userKeyAlreadyAnonymized)
userKeyAlreadyAnonymized
- Flag indicating if user key is already anonymized.public AnonymizeUserService.AnonymizeProcessData.Builder newUserName(String newUserName)
newUserName
- New user namepublic AnonymizeUserService.AnonymizeProcessData.Builder newUserKey(String newUserKey)
newUserKey
- New user keypublic AnonymizeUserService.AnonymizeProcessData.Builder affectedEntities(@Nonnull Collection<AffectedEntity> affectedEntities)
affectedEntities
- Affected entitiespublic AnonymizeUserService.AnonymizeProcessData.Builder affectedEntitiesWithHandlerError(boolean affectedEntitiesWithHandlerError)
affectedEntitiesWithHandlerError
- True when one of affected entities handlers executed with error, false otherwise.public AnonymizeUserService.AnonymizeProcessData build()
Copyright © 2002-2022 Atlassian. All Rights Reserved.