Interface PluginDescription


public interface PluginDescription
Describes a plugin's metadata.
  • Method Details

    • getId

      @Nonnull String getId()
      Get the plugin's unique ID.
      Returns:
      the plugin ID
    • getName

      @Nonnull String getName()
      Get the plugin's display name.
      Returns:
      the plugin name, or the ID if not specified
    • getVersion

      @Nonnull Optional<String> getVersion()
      Get the plugin's version.
      Returns:
      the version, or empty if not specified
    • getDescription

      @Nonnull Optional<String> getDescription()
      Get the plugin's description.
      Returns:
      the description, or empty if not specified
    • getAuthors

      @Nonnull List<String> getAuthors()
      Get the plugin's authors.
      Returns:
      the list of authors
    • getDependencies

      @Nonnull List<PluginDependency> getDependencies()
      Get the plugin's dependencies.
      Returns:
      the list of dependencies
    • getMainClass

      @Nonnull Optional<String> getMainClass()
      Get the plugin's main class name.
      Returns:
      the main class name, or empty if not specified