Interface ExtensionDescription


public interface ExtensionDescription
Represents the description of an Extension.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Gets the extension's api version.
    @NonNull List<String>
    Gets the extension's authors.
    @NonNull String
    id()
    Gets the extension's id.
    @NonNull String
    Gets the extension's main class.
    int
    Gets the extension's major api version
    int
    Gets the extension's minor api version
    @NonNull String
    Gets the extension's name.
    int
    Gets the extension's patch api version
    @NonNull String
    Gets the extension's description.
  • Method Details

    • id

      @NonNull String id()
      Gets the extension's id.
      Returns:
      the extension's id
    • name

      @NonNull String name()
      Gets the extension's name.
      Returns:
      the extension's name
    • main

      @NonNull String main()
      Gets the extension's main class.
      Returns:
      the extension's main class
    • majorApiVersion

      int majorApiVersion()
      Gets the extension's major api version
      Returns:
      the extension's major api version
    • minorApiVersion

      int minorApiVersion()
      Gets the extension's minor api version
      Returns:
      the extension's minor api version
    • patchApiVersion

      int patchApiVersion()
      Gets the extension's patch api version
      Returns:
      the extension's patch api version
    • apiVersion

      default String apiVersion()
      Gets the extension's api version.
      Returns:
      the extension's api version
    • version

      @NonNull String version()
      Gets the extension's description.
      Returns:
      the extension's description
    • authors

      @NonNull List<String> authors()
      Gets the extension's authors.
      Returns:
      the extension's authors