Annotation Interface Plugin


@Retention(RUNTIME) @Target(TYPE) public @interface Plugin
Plugin Class Annotation
Classes annotated with this will be loaded as plugins when found
  • Element Details

    • name

      String name
      The Name of this Plugin
      Returns:
      Plugin Name
    • version

      String version
      The Version of this Plugin
      Returns:
      Plugin Version
    • authors

      String[] authors
      The Authors of this Plugin
      Returns:
      Authors List
    • display

      String display
      The Display Name of this Plugin
      Returns:
      Plugin Display Name
      Default:
      ""
    • build

      String build
      The Build Version of this Plugin
      Returns:
      Plugin Build Version
      Default:
      ""
    • state

      String state
      The State of the Plugin
      Returns:
      Plugin State
      Default:
      ""
    • description

      String description
      The Description of this Plugin
      Returns:
      Plugin Description
      Default:
      ""
    • website

      String website
      The Authors' Website
      Returns:
      Authors' Website
      Default:
      ""
    • loadBefore

      String[] loadBefore
      Load Before Plugins List
      Returns:
      Load Before List
      Default:
      {}
    • dependencies

      Dependency[] dependencies
      Dependencies List
      Returns:
      Dependencies List
      Default:
      {}