public class FollowEvent extends ConfluenceEvent implements UserDriven
source
Constructor and Description |
---|
FollowEvent(Object src,
ConfluenceUser followee,
ConfluenceUser follower) |
FollowEvent(Object src,
com.atlassian.user.User subject,
com.atlassian.user.User follower)
Deprecated.
since 5.2
|
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() |
com.atlassian.user.User |
getFollower()
Deprecated.
since 5.2. Use
getFollowerUser() instead. |
ConfluenceUser |
getFollowerUser() |
com.atlassian.user.User |
getOriginatingUser()
Return the user that generated the event if known.
|
com.atlassian.user.User |
getSubject()
Deprecated.
since 5.2. Use
getFolloweeUser() instead. |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
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 user@Deprecated public FollowEvent(Object src, com.atlassian.user.User subject, com.atlassian.user.User follower)
src
- the source of the eventsubject
- the user who is now being followed by 'follower'follower
- the user who is now following another userpublic ConfluenceUser getFollowerUser()
@Deprecated public com.atlassian.user.User getFollower()
getFollowerUser()
instead.public ConfluenceUser getFolloweeUser()
@Deprecated public com.atlassian.user.User getSubject()
getFolloweeUser()
instead.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
Copyright © 2003–2016 Atlassian. All rights reserved.