Class AnonymizationParameters.Builder
java.lang.Object
com.atlassian.jira.user.anonymize.AnonymizationParameters.Builder
- Enclosing class:
AnonymizationParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()executor(ApplicationUser executor) Executor of the changes.getAffectedEntities(boolean getAffectedEntities) Indicates whether affected entities should be used during validation phase.newOwnerKey(String newOwnerKey) Replace the anonymized user with this one in places that always require an active user, e.g., project lead.oldUserKey(String oldUserKey) Old user key, used when retrying anonymization process.oldUserName(String oldUserName) Old user name, used when retrying anonymization process.rerunPluginPoints(boolean rerunPluginPoints) Requires passing old username/user key.targetUser(String userKey) Key of the user that will be anonymized.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetUser
Key of the user that will be anonymized. -
rerunPluginPoints
Requires passing old username/user key.- Parameters:
rerunPluginPoints- indicates whether user name/key change plugin points should be re-run (when either user name/user key is already anonymized)
-
newOwnerKey
Replace the anonymized user with this one in places that always require an active user, e.g., project lead. -
executor
Executor of the changes. Typically, the currently logged-in user. -
oldUserKey
Old user key, used when retrying anonymization process. -
oldUserName
Old user name, used when retrying anonymization process. -
getAffectedEntities
Indicates whether affected entities should be used during validation phase. -
build
-