Package net.md_5.bungee.api.plugin
Class PluginDescription
- java.lang.Object
-
- net.md_5.bungee.api.plugin.PluginDescription
-
public class PluginDescription extends Object
POJO representing the plugin.yml file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAuthor()Plugin author.Set<String>getDepends()Plugin hard dependencies.StringgetDescription()Optional description.FilegetFile()File we were loaded from.List<String>getLibraries()Optional libraries.StringgetMain()Plugin main class.StringgetName()Friendly name of the plugin.Set<String>getSoftDepends()Plugin soft dependencies.StringgetVersion()Plugin version.inthashCode()voidsetAuthor(String author)Plugin author.voidsetDepends(Set<String> depends)Plugin hard dependencies.voidsetDescription(String description)Optional description.voidsetFile(File file)File we were loaded from.voidsetLibraries(List<String> libraries)Optional libraries.voidsetMain(String main)Plugin main class.voidsetName(String name)Friendly name of the plugin.voidsetSoftDepends(Set<String> softDepends)Plugin soft dependencies.voidsetVersion(String version)Plugin version.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Friendly name of the plugin.
-
getVersion
public String getVersion()
Plugin version.
-
getAuthor
public String getAuthor()
Plugin author.
-
getFile
public File getFile()
File we were loaded from.
-
getDescription
public String getDescription()
Optional description.
-
setName
public void setName(String name)
Friendly name of the plugin.
-
setVersion
public void setVersion(String version)
Plugin version.
-
setAuthor
public void setAuthor(String author)
Plugin author.
-
setFile
public void setFile(File file)
File we were loaded from.
-
setDescription
public void setDescription(String description)
Optional description.
-
canEqual
protected boolean canEqual(Object other)
-
-