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)
Deprecated.
since 7.1.0, use
ContentEvent(Object, OperationContext) |
ContentEvent(Object source,
@Nullable OperationContext<?> context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable 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)
@Deprecated public ContentEvent(Object src, boolean suppressNotifications)
ContentEvent(Object, OperationContext)
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 ContentEvent(Object source, @Nullable OperationContext<?> context)
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–2020 Atlassian. All rights reserved.