com.atlassian.confluence.event.events.follow
Class FollowEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.follow.FollowEvent
- All Implemented Interfaces:
- UserDriven, Serializable
public class FollowEvent
- extends ConfluenceEvent
- implements UserDriven
An event fired when a user is followed/
- See Also:
- Serialized Form
Constructor Summary |
FollowEvent(Object src,
com.atlassian.user.User subject,
com.atlassian.user.User follower)
|
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
FollowEvent
public FollowEvent(Object src,
com.atlassian.user.User subject,
com.atlassian.user.User follower)
- Parameters:
src
- the source of the eventsubject
- the user who is now being followed by 'follower'follower
- the user who is now following another user
getFollower
public com.atlassian.user.User getFollower()
getSubject
public com.atlassian.user.User getSubject()
getOriginatingUser
public com.atlassian.user.User getOriginatingUser()
- Description copied from interface:
UserDriven
- Return the user that generated the event if known.
- Specified by:
getOriginatingUser
in interface UserDriven
- Returns:
- User that drove an event. Null indicates either that the
event was driven by the anonymous user or the system itself.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class com.atlassian.event.Event
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.event.Event
toString
public String toString()
- Overrides:
toString
in class EventObject
Copyright © 2003-2013 Atlassian. All Rights Reserved.