Annotation Interface ElementEventProducer


@Target(TYPE) @Retention(RUNTIME) @Repeatable(ElementEventProducers.class) public @interface ElementEventProducer
Used for documentation and reporting. This allows arbitrary definition of Event types.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the Event.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A brief description of the Event.
    Class<?>[]
    The types of parameters the event will produce.
  • Element Details

    • value

      String value
      The name of the Event.
      Returns:
      the name of the event
    • description

      String description
      A brief description of the Event.
      Returns:
      the even description.
      Default:
      ""
    • parameters

      Class<?>[] parameters
      The types of parameters the event will produce.
      Default:
      {}