public class GeneralAttachmentRemoveEvent extends AttachmentEvent implements Removed, UserDriven
source| Constructor and Description |
|---|
GeneralAttachmentRemoveEvent(Object src,
Attachment attachment,
com.atlassian.user.User remover) |
GeneralAttachmentRemoveEvent(Object src,
Attachment attachment,
com.atlassian.user.User remover,
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.
|
com.atlassian.user.User |
getOriginatingUser()
Return the user that generated the event if known.
|
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getAttachedTo, getAttachment, getAttachments, getContentisSuppressNotifications, setSuppressNotificationsgetSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTimestamppublic GeneralAttachmentRemoveEvent(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover)
public GeneralAttachmentRemoveEvent(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover, boolean suppressNotifications)
@Nullable public com.atlassian.user.User getOriginatingUser()
UserDrivengetOriginatingUser in interface UserDrivenpublic 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–2017 Atlassian. All rights reserved.