public class GeneralAttachmentVersionRemoveEvent extends AttachmentEvent implements Removed, UserDriven
source
Constructor and Description |
---|
GeneralAttachmentVersionRemoveEvent(Object src,
Attachment attachment,
com.atlassian.user.User remover) |
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, getContent
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
public GeneralAttachmentVersionRemoveEvent(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover)
@Nullable public com.atlassian.user.User getOriginatingUser()
UserDriven
getOriginatingUser
in interface UserDriven
public boolean equals(@Nullable Object o)
ConfluenceEvent
equals
in class AttachmentEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class AttachmentEvent
Event.hashCode()
Copyright © 2003–2015 Atlassian. All rights reserved.