|Constructor and Description|
Creates an attachment trashed event
|Modifier and Type||Method and Description|
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
Return the user that generated the event if known.
Subclasses must override this to hash their own fields.
getAttachedTo, getAttachment, getAttachments, getContent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public AttachmentTrashedEvent(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser, boolean suppressNotifications)
source- the object publishing the event
attachment- the attachment that is being restored
originatingUser- the user that trashed the attachment
trueto suppress notifications,
falseto allow notifications
public @Nullable com.atlassian.user.User getOriginatingUser()
public boolean equals(@Nullable Object o)
Subclasses must override this to compare their own fields.
Copyright © 2003–2020 Atlassian. All rights reserved.