aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/activities/AnnounceEvent.java
blob: 00dbea8c9836c450c64c94f9409dc56937e29d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.juick.service.activities;

import org.springframework.context.ApplicationEvent;

public class AnnounceEvent extends ApplicationEvent {
    private String actorUri;
    private String messageUri;

    public AnnounceEvent(Object source, String actor, String messageUri) {
        super(source);
        this.actorUri = actor;
        this.messageUri = messageUri;
    }

    public String getActorUri() {
        return actorUri;
    }

    public String getMessageUri() {
        return messageUri;
    }
}