public class GeneralAttachmentRestoreEvent extends AttachmentEvent implements Restore, UserDriven
|Constructor and Description|
Creates an attachment restore 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 GeneralAttachmentRestoreEvent(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–2017 Atlassian. All rights reserved.