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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAuthor()
Plugin author.Set<String>
getDepends()
Plugin hard dependencies.String
getDescription()
Optional description.File
getFile()
File we were loaded from.List<String>
getLibraries()
Optional libraries.String
getMain()
Plugin main class.String
getName()
Friendly name of the plugin.Set<String>
getSoftDepends()
Plugin soft dependencies.String
getVersion()
Plugin version.int
hashCode()
void
setAuthor(String author)
Plugin author.void
setDepends(Set<String> depends)
Plugin hard dependencies.void
setDescription(String description)
Optional description.void
setFile(File file)
File we were loaded from.void
setLibraries(List<String> libraries)
Optional libraries.void
setMain(String main)
Plugin main class.void
setName(String name)
Friendly name of the plugin.void
setSoftDepends(Set<String> softDepends)
Plugin soft dependencies.void
setVersion(String version)
Plugin version.String
toString()
-
-
-
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)
-
-