package com.juick.service.activities; import com.juick.server.api.activity.model.activities.Follow; import org.springframework.context.ApplicationEvent; public class UndoFollowEvent extends ApplicationEvent { private String actor; private Follow followRequest; /** * Create a new ApplicationEvent. * * @param source the object on which the event initially occurred (never {@code null}) */ public UndoFollowEvent(Object source, String actor, Follow object) { super(source); this.actor = actor; this.followRequest = object; } public String getActor() { return actor; } public Follow getFollowRequest() { return followRequest; } }