public static class AnonymizationParameters.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AnonymizationParameters |
build() |
AnonymizationParameters.Builder |
executor(ApplicationUser executor)
Executor of the changes.
|
AnonymizationParameters.Builder |
getAffectedEntities(boolean getAffectedEntities)
Indicates whether affected entities should be used during validation phase.
|
AnonymizationParameters.Builder |
newOwnerKey(String newOwnerKey)
Replace the anonymized user with this one in places
that always require an active user, e.g., project lead.
|
AnonymizationParameters.Builder |
oldUserKey(String oldUserKey)
Old user key, used when retrying anonymization process.
|
AnonymizationParameters.Builder |
oldUserName(String oldUserName)
Old user name, used when retrying anonymization process.
|
AnonymizationParameters.Builder |
rerunPluginPoints(boolean rerunPluginPoints)
Requires passing old username/user key.
|
AnonymizationParameters.Builder |
targetUser(String userKey)
Key of the user that will be anonymized.
|
public AnonymizationParameters.Builder targetUser(@Nonnull String userKey)
public AnonymizationParameters.Builder rerunPluginPoints(boolean rerunPluginPoints)
rerunPluginPoints
- indicates whether user name/key change plugin points should be re-run (when either user name/user key is already anonymized)public AnonymizationParameters.Builder newOwnerKey(@Nullable String newOwnerKey)
public AnonymizationParameters.Builder executor(@Nonnull ApplicationUser executor)
public AnonymizationParameters.Builder oldUserKey(@Nullable String oldUserKey)
public AnonymizationParameters.Builder oldUserName(@Nullable String oldUserName)
public AnonymizationParameters.Builder getAffectedEntities(boolean getAffectedEntities)
public AnonymizationParameters build()
Copyright © 2002-2023 Atlassian. All Rights Reserved.