Interface PluginMetadata.Builder
- Enclosing interface:
- PluginMetadata
public static interface PluginMetadata.Builder
The builder for
PluginMetadata.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newPluginMetadatainstance with the builder's properties.Sets the author of the plugin.setDependencies(Iterable<String> elements) Sets the dependencies of the plugin.setDescription(String description) Sets the description of the plugin.setDisplayName(String displayName) Sets the display name of the plugin.setMainClass(String mainClass) Sets the main class of the plugin.setMinGameVersion(int minGameVersion) Sets the minimum game version required by the plugin.Sets the name of the plugin.setRepository(String repository) Sets the GitHub repository of the plugin.setSoftDependencies(Iterable<String> elements) Sets the soft dependencies of the plugin.setVersion(String version) Sets the version of the plugin.
-
Method Details
-
setName
Sets the name of the plugin. -
setDisplayName
Sets the display name of the plugin. -
setAuthor
Sets the author of the plugin. -
setDescription
Sets the description of the plugin. -
setVersion
Sets the version of the plugin. -
setMainClass
Sets the main class of the plugin. -
setMinGameVersion
Sets the minimum game version required by the plugin. -
setRepository
Sets the GitHub repository of the plugin. -
setDependencies
Sets the dependencies of the plugin. -
setSoftDependencies
Sets the soft dependencies of the plugin. -
build
PluginMetadata build()Creates a newPluginMetadatainstance with the builder's properties.
-