public class FollowEvent extends ConfluenceEvent implements UserDriven, NotificationEnabledEvent
source
Constructor and Description |
---|
FollowEvent(Object src,
ConfluenceUser followee,
ConfluenceUser follower) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
ConfluenceUser |
getFolloweeUser() |
ConfluenceUser |
getFollowerUser() |
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.
|
boolean |
isSuppressNotifications() |
String |
toString() |
getSource
public FollowEvent(Object src, ConfluenceUser followee, ConfluenceUser follower)
src
- the source of the eventfollowee
- the user who is now being followed by 'follower'follower
- the user who is now following another userpublic ConfluenceUser getFollowerUser()
public ConfluenceUser getFolloweeUser()
public com.atlassian.user.User getOriginatingUser()
UserDriven
getOriginatingUser
in interface UserDriven
public boolean equals(Object obj)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ConfluenceEvent
obj
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ConfluenceEvent
Event.hashCode()
public String toString()
toString
in class EventObject
public final boolean isSuppressNotifications()
isSuppressNotifications
in interface NotificationEnabledEvent
Copyright © 2003–2020 Atlassian. All rights reserved.