public class MetadataBungeeExtension extends MetadataExtension
MetadataExtension.Dependency| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_NAME |
| Constructor and Description |
|---|
MetadataBungeeExtension(Project project)
Creates a new extension for the given project.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(eu.hexagonmc.spigot.annotation.meta.PluginMetadata meta)
Applies this extension to an
PluginMetadata. |
String |
author()
Gets the author set for this plugin.
|
void |
author(Object author)
Sets the author for this plugin.
|
dependencies, dependencies, dependency, dependency, dependency, description, description, getName, main, main, name, name, version, versionpublic static final String EXTENSION_NAME
public MetadataBungeeExtension(Project project)
project - The projectpublic void author(Object author)
author - The author to setpublic String author()
public void accept(eu.hexagonmc.spigot.annotation.meta.PluginMetadata meta)
PluginMetadata..accept in interface Consumer<eu.hexagonmc.spigot.annotation.meta.PluginMetadata>accept in class MetadataExtension