aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/activities/UndoFollowEvent.java
blob: 2b48e6f6a11118f9981315e951ad7cbbe155235e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
    }
}