Annotation Interface Plugin


@Retention(RUNTIME) @Target(TYPE) public @interface Plugin
An annotation used to mark a plugin.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    An ID that uniquely identifies this plugin.
  • Element Details

    • value

      String value
      An ID that uniquely identifies this plugin.

      This should correspond to a matching metadata by PluginMetadata.id(). If not, it is up to the implementation on how that is handled. However, it should be treated as an error condition and therefore invalidate the enclosing container.

      Returns:
      The id