public class GeneralAttachmentUpdateEvent extends AttachmentEvent implements Updated, ConfluenceEntityUpdated
source| Constructor and Description |
|---|
GeneralAttachmentUpdateEvent(Object src,
Attachment attachment,
Attachment previousVersion) |
GeneralAttachmentUpdateEvent(Object src,
Attachment attachment,
Attachment previousVersion,
boolean suppressNotifications) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
Attachment |
getNew() |
Attachment |
getOld() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isAttachmentContainerUpdated() |
boolean |
isFileNameChanged() |
getAttachedTo, getAttachment, getAttachments, getContentisSuppressNotifications, setSuppressNotificationsgetSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTimestamppublic GeneralAttachmentUpdateEvent(Object src, Attachment attachment, Attachment previousVersion)
public GeneralAttachmentUpdateEvent(Object src, Attachment attachment, Attachment previousVersion, boolean suppressNotifications)
@Nonnull public Attachment getOld()
getOld in interface ConfluenceEntityUpdated@Nonnull public Attachment getNew()
getNew in interface ConfluenceEntityUpdatedpublic boolean isFileNameChanged()
public boolean isAttachmentContainerUpdated()
public boolean equals(@Nullable Object o)
ConfluenceEventSubclasses must override this to compare their own fields.
equals in class AttachmentEvento - the object to compare.Event.equals(Object)public int hashCode()
ConfluenceEventhashCode in class AttachmentEventEvent.hashCode()Copyright © 2003–2018 Atlassian. All rights reserved.