public interface PluginDescription
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
ID_PATTERN
The pattern plugin IDs must match.
|
| Modifier and Type | Method and Description |
|---|---|
default List<String> |
getAuthors()
Gets the authors of the
Plugin within this container. |
default Collection<PluginDependency> |
getDependencies()
Gets a
Collection of all dependencies of the Plugin within this container. |
default Optional<PluginDependency> |
getDependency(String id) |
default Optional<String> |
getDescription()
Gets the description of the
Plugin within this container. |
String |
getId()
Gets the qualified ID of the
Plugin within this container. |
default Optional<String> |
getName()
Gets the name of the
Plugin within 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
Plugin within this container. |
default Optional<String> |
getVersion()
Gets the version of the
Plugin within this container. |
static final Pattern ID_PATTERN
String getId()
Plugin within this container.Plugin.id()default Optional<String> getName()
Plugin within this container.Optional with the plugin name, may be emptyPlugin.name()default Optional<String> getVersion()
Plugin within this container.Optional with the plugin version, may be emptyPlugin.version()default Optional<String> getDescription()
Plugin within this container.Optional with the plugin description, may be emptyPlugin.description()default Optional<String> getUrl()
Plugin within this container.Optional with the plugin url, may be emptyPlugin.url()default List<String> getAuthors()
Plugin within this container.Plugin.authors()default Collection<PluginDependency> getDependencies()
Collection of all dependencies of the Plugin within this container.Plugin.dependencies()default Optional<PluginDependency> getDependency(String id)
default Optional<Path> getSource()
Optional.empty() if unknown