Package net.storm.api.plugins
Annotation Interface PluginDependencies
Container annotation for multiple
PluginDependency annotations.
This annotation is automatically used by the Java compiler when multiple
@PluginDependency annotations are applied to a single class.
You typically don't need to use this annotation directly; instead, use
multiple @PluginDependency annotations.
Example (these are equivalent):
// Using multiple @PluginDependency (preferred)
@PluginDependency(PluginA.class)
@PluginDependency(PluginB.class)
public class MyPlugin extends Plugin { }
// Using @PluginDependencies directly
@PluginDependencies({
@PluginDependency(PluginA.class),
@PluginDependency(PluginB.class)
})
public class MyPlugin extends Plugin { }
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe array of plugin dependencies.
-
Element Details
-
value
PluginDependency[] valueThe array of plugin dependencies.- Returns:
- an array of
PluginDependencyannotations
-