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