public abstract class AbstractLikeEvent extends ContentEvent implements LikeEvent
source
Constructor and Description |
---|
AbstractLikeEvent(Object src,
com.atlassian.user.User user,
ContentEntityObject content) |
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.
|
ContentEntityObject |
getContent() |
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.
|
String |
toString() |
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
public AbstractLikeEvent(Object src, com.atlassian.user.User user, ContentEntityObject content)
public ContentEntityObject getContent()
getContent
in interface Contented
public com.atlassian.user.User getOriginatingUser()
UserDriven
getOriginatingUser
in interface UserDriven
public String toString()
toString
in class EventObject
public boolean equals(Object o)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ContentEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ContentEvent
Event.hashCode()
Copyright © 2003–2020 Atlassian. All rights reserved.