public interface PluginContainer
Plugin annotation to retrieve
 information from the annotation for easier use.| Modifier and Type | Method and Description | 
|---|---|
| default Optional<Asset> | getAsset(String name) | 
| default List<String> | getAuthors()Gets the authors of the  Pluginwithin this container. | 
| default Set<org.spongepowered.plugin.meta.PluginDependency> | getDependencies() | 
| default Optional<org.spongepowered.plugin.meta.PluginDependency> | getDependency(String id)Gets the  PluginDependencythe plugin in this container has on
 the plugin with the specified plugin ID. | 
| default Optional<String> | getDescription()Gets the description of the  Pluginwithin this container. | 
| String | getId()Gets the qualified ID of the  Pluginwithin this container. | 
| default Optional<?> | getInstance()Returns the created instance of  Pluginif it is available. | 
| default Logger | getLogger()Returns the assigned logger to this  Plugin. | 
| default String | getName()Gets the name of the  Pluginwithin this container. | 
| default Optional<Path> | getSource()Returns the source the plugin was loaded from. | 
| default Optional<String> | getUrl()Gets the url or website of the  Pluginwithin this container. | 
| default Optional<String> | getVersion()Gets the version of the  Pluginwithin this container. | 
String getId()
Plugin within this container.Plugin.id()default String getName()
Plugin within this container.getId() if unknownPlugin.name()default Optional<String> getVersion()
Plugin within this container.Optional.empty() if unknownPlugin.version()default Optional<String> getDescription()
Plugin within this container.Optional.empty() if unknownPlugin.description()default Optional<String> getUrl()
Plugin within this container.Optional.empty() if unknownPlugin.url()default List<String> getAuthors()
Plugin within this container.Plugin.authors()default Set<org.spongepowered.plugin.meta.PluginDependency> getDependencies()
Plugin.dependencies()default Optional<org.spongepowered.plugin.meta.PluginDependency> getDependency(String id)
PluginDependency the plugin in this container has on
 the plugin with the specified plugin ID.id - The plugin ID of the dependencyOptional.empty() if unknowndefault Optional<Asset> getAsset(String name)
name - Name of assetdefault Optional<Path> getSource()
Optional.empty()
     if unknowndefault Optional<?> getInstance()
Plugin if it is available.