aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/activities/AnnounceEvent.java
blob: 7fb2be22ca6b83143e332e4f674c7692af6b6537 (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 final String actorUri;
    private final 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;
    }
}