public abstract class ContentEvent extends ConfluenceEvent implements Contented, Timestamped
source
Constructor and Description |
---|
ContentEvent(Object src) |
ContentEvent(Object src,
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.
|
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isSuppressNotifications() |
void |
setSuppressNotifications(boolean suppressNotifications) |
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContent
getTimestamp
public ContentEvent(Object src)
public ContentEvent(Object src, boolean suppressNotifications)
src
- The Object that raised the eventsuppressNotifications
- If true, indicates that any notifications that would triggered by this event aren't sent to users.public boolean isSuppressNotifications()
public void setSuppressNotifications(boolean suppressNotifications)
public boolean equals(@Nullable Object o)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ConfluenceEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ConfluenceEvent
Event.hashCode()
Copyright © 2003–2016 Atlassian. All rights reserved.