|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
@Nullable public com.atlassian.user.User getOriginatingUser()
Subclasses must override this to compare their own fields.
Copyright © 2003–2016 Atlassian. All rights reserved.