Annotation Interface PluginRoot


@Retention(RUNTIME) @Target(TYPE) public @interface PluginRoot
Indicates that the class is a plugin's main class.

Besides, the main class must inherit from Plugin interface. This annotation must be used once and only once within the plugin. If this annotation is used more than once (together with the inheritance of Plugin interface), the first occurrence is used (in non-deterministic order).

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Title of the plugin.
    Type of the plugin.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Short description of the plugin.
    URL of the plugin's user documentation.
  • Element Details

    • title

      String title
      Title of the plugin.
      Returns:
      plugin title
    • description

      String description
      Short description of the plugin.
      Returns:
      plugin description
      Default:
      ""
    • documentationUrl

      String documentationUrl
      URL of the plugin's user documentation.
      Returns:
      documentation URL, or an empty string if none is available
      Default:
      ""
    • type

      Type of the plugin.
      Returns:
      plugin type