Interface PluginInterface

  • All Known Implementing Classes:
    Plugin

    public interface PluginInterface
    • Method Detail

      • 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

        java.lang.String getName()
      • setName

        void setName​(java.lang.String name)
      • getCode

        java.lang.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

        java.lang.String getFileName()
      • setFileName

        void setFileName​(java.lang.String fileName)
      • getVersion

        java.lang.String getVersion()
      • setVersion

        void setVersion​(java.lang.String version)
      • getDescription

        java.lang.String getDescription()
      • setDescription

        void setDescription​(java.lang.String description)
      • getAuthor

        java.lang.String getAuthor()
      • setAuthor

        void setAuthor​(java.lang.String author)
      • getWebsiteUrl

        java.lang.String getWebsiteUrl()
      • setWebsiteUrl

        void setWebsiteUrl​(java.lang.String websiteUrl)
      • getSourceCodeLocationUrl

        java.lang.String getSourceCodeLocationUrl()
      • setSourceCodeLocationUrl

        void setSourceCodeLocationUrl​(java.lang.String sourceCodeLocationUrl)
      • getIssueTrackerUrl

        java.lang.String getIssueTrackerUrl()
      • setIssueTrackerUrl

        void setIssueTrackerUrl​(java.lang.String issueTrackerUrl)