public abstract class PageEvent extends ContentEvent
source
Constructor and Description |
---|
PageEvent(Object source,
Page page)
Deprecated.
since 6.0, use
PageEvent(Object, Page, boolean) instead |
PageEvent(Object source,
Page page,
boolean suppressNotifications)
Deprecated.
since 7.1.0, use
PageEvent(Object, Page, OperationContext) |
PageEvent(Object source,
Page page,
OperationContext<?> operationContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
@NonNull ContentEntityObject |
getContent() |
@NonNull Page |
getPage() |
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
@Deprecated public PageEvent(Object source, Page page)
PageEvent(Object, Page, boolean)
instead@Deprecated public PageEvent(Object source, Page page, boolean suppressNotifications)
PageEvent(Object, Page, OperationContext)
public PageEvent(Object source, Page page, OperationContext<?> operationContext)
public @NonNull Page getPage()
public @NonNull ContentEntityObject getContent()
public String toString()
toString
in class EventObject
public boolean equals(@Nullable Object obj)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ContentEvent
obj
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ContentEvent
Event.hashCode()
Copyright © 2003–2020 Atlassian. All rights reserved.