Annotation Type 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
      java.lang.String title  
      PLUGIN_TYPE type