Class Overview
Raised when personally identifying user data is erased for username
.
Clients that store personally identifying user data should implement a UserErasureModuleDescriptor
with a
corresponding handler to erase this data.
This event is internally audited with a HIGH
priority.
Summary
[Expand]
Inherited Fields |
From class
java.util.EventObject
|
[Expand]
Inherited Methods |
From class
com.atlassian.bitbucket.event.ApplicationEvent
|
From class
java.util.EventObject
Object
|
getSource()
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
UserErasedEvent
(Object source, long duration, String originalUsername, ApplicationUser updatedUser)
Public Methods
public
long
getDuration
()
Returns
- processing duration of the user erasure, in milliseconds
@Nonnull
public
String
getOriginalUsername
()
Returns
- the original username of the erased user
@Nonnull
public
ApplicationUser
getUpdatedUser
()
Returns
- the user with the anonymized name