public class BlogPostMovedEvent extends BlogPostEvent implements Updated, UserDriven, NotificationEnabledEvent
source
Constructor and Description |
---|
BlogPostMovedEvent(Object src,
@Nullable ConfluenceUser user,
BlogPost blogPost,
Space originalSpace,
Space currentSpace) |
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.
|
@NonNull Space |
getCurrentSpace() |
@NonNull Space |
getOriginalSpace() |
@Nullable com.atlassian.user.User |
getOriginatingUser()
Return the user that generated the event if known.
|
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getBlogPost, getContent
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSuppressNotifications
getTimestamp
public BlogPostMovedEvent(Object src, @Nullable ConfluenceUser user, BlogPost blogPost, Space originalSpace, Space currentSpace)
public @NonNull Space getCurrentSpace()
public @NonNull Space getOriginalSpace()
public @Nullable com.atlassian.user.User getOriginatingUser()
UserDriven
getOriginatingUser
in interface UserDriven
public boolean equals(@Nullable Object o)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class BlogPostEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class BlogPostEvent
Event.hashCode()
Copyright © 2003–2020 Atlassian. All rights reserved.