diff options
Diffstat (limited to 'src/main/java/ftbsc/geb/api/annotations/Event.java')
-rw-r--r-- | src/main/java/ftbsc/geb/api/annotations/Event.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/geb/api/annotations/Event.java b/src/main/java/ftbsc/geb/api/annotations/Event.java index 780f361..ea1724c 100644 --- a/src/main/java/ftbsc/geb/api/annotations/Event.java +++ b/src/main/java/ftbsc/geb/api/annotations/Event.java @@ -1,8 +1,17 @@ package ftbsc.geb.api.annotations; +import ftbsc.geb.api.IEvent; + import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +/** + * Marks a class as an Event. It should implement the {@link IEvent} interface. + * It doesn't need to be abstract, but it can never be final. + * @since 0.1.0 + */ @Target(ElementType.TYPE) -public @interface Event { -} +@Retention(RetentionPolicy.CLASS) +public @interface Event {} |