Class OwnershipTransferParameter
java.lang.Object
com.atlassian.jira.user.anonymize.OwnershipTransferParameter
- All Implemented Interfaces:
TaskContextAware
Contains user keys of the user currently owning an entity, and of the user that the ownership is to be transferred to.
Also contains
context
to report progress to.- Since:
- 8.3
-
Constructor Summary
ConstructorsConstructorDescriptionOwnershipTransferParameter
(String currentUserKey, String transferToUserKey, Context context) -
Method Summary
-
Constructor Details
-
OwnershipTransferParameter
-
-
Method Details
-
getCurrentUserKey
User key of the current entity owner to be updated. -
getTransferToUserKey
User key of the user that the ownership is to be transferred to. -
getContext
Context to report progress to.Proper implementation is only available during the execution of
AnonymizationHandler.update(Object)
. When trying to access it in other methods, the behavior of the returned object is unspecified.- Specified by:
getContext
in interfaceTaskContextAware
-
equals
-
hashCode
public int hashCode() -
toString
-