public abstract class ContentEvent extends ConfluenceEvent implements Contented, Timestamped
source
Constructor and Description |
---|
ContentEvent(Object src)
Deprecated.
since 5.11.0 , use
ContentEvent(Object, boolean) |
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)
Deprecated.
since 5.11.0, use
ContentEvent(Object, boolean) |
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContent
getTimestamp
@Deprecated public ContentEvent(Object src)
ContentEvent(Object, boolean)
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()
@Deprecated public void setSuppressNotifications(boolean suppressNotifications)
ContentEvent(Object, boolean)
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–2017 Atlassian. All rights reserved.