Annotation Interface EventName


@Target(TYPE) @Retention(RUNTIME) public @interface EventName
Annotation to be used on class level to specify the event which matches the interface of a deviated EventContext.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the name of the event the typed EventContext provides its interface for.
  • Element Details

    • value

      String value
      Returns the name of the event the typed EventContext provides its interface for.
      Returns:
      the name of the event a typed EventContext is attached to