Interface PluginInterface

All Known Implementing Classes:
Plugin

public interface PluginInterface
  • Method Details

    • initialize

      void initialize()
      This is a hook called by the PluginManager when a plugin is loaded into memory. In many cases no code execution should be needed in this phase, but some scenarios may require this.
    • onDestroy

      void onDestroy()
      Called when a plugin is being removed from the plugin manager (aka Uninstalled)
    • getName

      String getName()
    • setName

      void setName(String name)
    • getCode

      String getCode()
      Gets the code of the current plugin. This is an internal name that must be unique across plugins.
      Returns:
      the code for the plugin
    • getFileName

      String getFileName()
    • setFileName

      void setFileName(String fileName)
    • getVersion

      String getVersion()
    • setVersion

      void setVersion(String version)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String description)
    • getAuthor

      String getAuthor()
    • setAuthor

      void setAuthor(String author)
    • getWebsiteUrl

      String getWebsiteUrl()
    • setWebsiteUrl

      void setWebsiteUrl(String websiteUrl)
    • getSourceCodeLocationUrl

      String getSourceCodeLocationUrl()
    • setSourceCodeLocationUrl

      void setSourceCodeLocationUrl(String sourceCodeLocationUrl)
    • getIssueTrackerUrl

      String getIssueTrackerUrl()
    • setIssueTrackerUrl

      void setIssueTrackerUrl(String issueTrackerUrl)