public static class MetadataExtension.Dependency extends Object
| Modifier and Type | Method and Description |
|---|---|
eu.hexagonmc.spigot.annotation.meta.PluginDependency |
build()
Builds a
PluginDependency of this extension. |
String |
getName()
Gets the name set for this dependency.
|
String |
name()
Gets the name set for this dependency.
|
eu.hexagonmc.spigot.annotation.meta.DependencyType |
type()
Gets the type set for this dependency.
|
void |
type(Object type)
Sets the type of this dependency.
|
public String name()
public String getName()
public void type(Object type)
type - The type to setpublic eu.hexagonmc.spigot.annotation.meta.DependencyType type()
public eu.hexagonmc.spigot.annotation.meta.PluginDependency build()
PluginDependency of this extension.PluginDependency