Annotation Interface Plugin


@Target(TYPE) @Retention(RUNTIME) public @interface Plugin
Represents plugin metadata, should be used to annotate ReposilitePlugin
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Element Details

    • name

      String name
      Returns:
      the name of this plugin
    • version

      String version
      Returns:
      version of plugin, by default it is same as the current Reposilite version
      See Also:
      • ReposiliteKt.VERSION
      Default:
      "3.0.0-alpha.25"
    • dependencies

      String[] dependencies
      Returns:
      array of plugins required to launch before this one
      Default:
      {}