Package net.md_5.bungee.api.plugin
Class PluginDescription
java.lang.Object
net.md_5.bungee.api.plugin.PluginDescription
POJO representing the plugin.yml file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Plugin author.Plugin hard dependencies.Optional description.getFile()
File we were loaded from.Optional libraries.getMain()
Plugin main class.getName()
Friendly name of the plugin.Plugin soft dependencies.Plugin version.int
hashCode()
void
Plugin author.void
setDepends
(Set<String> depends) Plugin hard dependencies.void
setDescription
(String description) Optional description.void
File we were loaded from.void
setLibraries
(List<String> libraries) Optional libraries.void
Plugin main class.void
Friendly name of the plugin.void
setSoftDepends
(Set<String> softDepends) Plugin soft dependencies.void
setVersion
(String version) Plugin version.toString()
-
Constructor Details
-
PluginDescription
public PluginDescription() -
PluginDescription
-
-
Method Details
-
getName
Friendly name of the plugin. -
getMain
Plugin main class. Needs to extendPlugin
. -
getVersion
Plugin version. -
getAuthor
Plugin author. -
getDepends
Plugin hard dependencies. -
getSoftDepends
Plugin soft dependencies. -
getFile
File we were loaded from. -
getDescription
Optional description. -
getLibraries
Optional libraries. -
setName
Friendly name of the plugin. -
setMain
Plugin main class. Needs to extendPlugin
. -
setVersion
Plugin version. -
setAuthor
Plugin author. -
setDepends
Plugin hard dependencies. -
setSoftDepends
Plugin soft dependencies. -
setFile
File we were loaded from. -
setDescription
Optional description. -
setLibraries
Optional libraries. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-