Annotation Interface Extension


@Retention(RUNTIME) @Target(TYPE) public @interface Extension
A extension main class must be decorated with this annotation
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    List of authors of the extension
    A short one line description of the extension
    A short name for the extension
    The version of the extension
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If set to true then the extension will expose its classes to other extensions
  • Element Details

    • name

      String name
      A short name for the extension
      Returns:
      extension name
    • version

      String version
      The version of the extension
      Returns:
      extension version
    • authors

      String[] authors
      List of authors of the extension
      Returns:
      authors
    • description

      String description
      A short one line description of the extension
      Returns:
      extension description
    • global

      boolean global
      If set to true then the extension will expose its classes to other extensions
      Returns:
      boolean
      Default:
      true