public abstract class AbstractPageHierarchyEvent extends PageEvent
source
Constructor and Description |
---|
AbstractPageHierarchyEvent(Object source,
Page page,
@Nullable ConfluenceUser initiator,
boolean suppressNotifications)
Deprecated.
since 7.5, please use
AbstractPageHierarchyEvent(Object, Page, ConfluenceUser, boolean, int) instead. |
AbstractPageHierarchyEvent(Object source,
Page page,
@Nullable ConfluenceUser initiator,
boolean suppressNotifications,
int hierarchySize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object other)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
int |
getHierarchySize()
Returns the number of pages in the hierarchy involved in the action that triggered this event
|
Optional<ConfluenceUser> |
getInitiator() |
Page |
getTargetPage() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getContent, getPage, toString
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Deprecated public AbstractPageHierarchyEvent(Object source, Page page, @Nullable ConfluenceUser initiator, boolean suppressNotifications)
AbstractPageHierarchyEvent(Object, Page, ConfluenceUser, boolean, int)
instead.public AbstractPageHierarchyEvent(Object source, Page page, @Nullable ConfluenceUser initiator, boolean suppressNotifications, int hierarchySize)
public Optional<ConfluenceUser> getInitiator()
public int getHierarchySize()
public boolean equals(@Nullable Object other)
ConfluenceEvent
Subclasses must override this to compare their own fields.
public int hashCode()
ConfluenceEvent
public Page getTargetPage()
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences