diff options
Diffstat (limited to 'src/main/java/com/juick/service/activities/UndoAnnounceEvent.java')
-rw-r--r-- | src/main/java/com/juick/service/activities/UndoAnnounceEvent.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java new file mode 100644 index 00000000..115f3146 --- /dev/null +++ b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java @@ -0,0 +1,22 @@ +package com.juick.service.activities; + +import org.springframework.context.ApplicationEvent; + +public class UndoAnnounceEvent extends ApplicationEvent { + private String actorUri; + private String messageUri; + + public UndoAnnounceEvent(Object source, String actor, String messageUri) { + super(source); + this.actorUri = actor; + this.messageUri = messageUri; + } + + public String getActorUri() { + return actorUri; + } + + public String getMessageUri() { + return messageUri; + } +} |