Class PluginDescription


  • public class PluginDescription
    extends Object
    POJO representing the plugin.yml file.
    • Method Detail

      • getName

        public String getName()
        Friendly name of the plugin.
      • getMain

        public String getMain()
        Plugin main class. Needs to extend Plugin.
      • getVersion

        public String getVersion()
        Plugin version.
      • getAuthor

        public String getAuthor()
        Plugin author.
      • getDepends

        public Set<String> getDepends()
        Plugin hard dependencies.
      • getSoftDepends

        public Set<String> getSoftDepends()
        Plugin soft dependencies.
      • getFile

        public File getFile()
        File we were loaded from.
      • getDescription

        public String getDescription()
        Optional description.
      • getLibraries

        public List<String> getLibraries()
        Optional libraries.
      • setName

        public void setName​(String name)
        Friendly name of the plugin.
      • setMain

        public void setMain​(String main)
        Plugin main class. Needs to extend Plugin.
      • setVersion

        public void setVersion​(String version)
        Plugin version.
      • setAuthor

        public void setAuthor​(String author)
        Plugin author.
      • setDepends

        public void setDepends​(Set<String> depends)
        Plugin hard dependencies.
      • setSoftDepends

        public void setSoftDepends​(Set<String> softDepends)
        Plugin soft dependencies.
      • setFile

        public void setFile​(File file)
        File we were loaded from.
      • setDescription

        public void setDescription​(String description)
        Optional description.
      • setLibraries

        public void setLibraries​(List<String> libraries)
        Optional libraries.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object