public static class PluginWrapper.Dependency extends Object
Modifier and Type | Method and Description |
---|---|
String |
getShortName() |
String |
getVersion() |
static PluginWrapper.Dependency |
parse(String depString)
Parses information on a plugin dependency from the specified String.
|
String |
toString() |
public static PluginWrapper.Dependency parse(String depString)
plugin_short_name[:version][;additional_attribute]* plugin_short_name: the Short-Name of the plugin to depend on version: Optional soft constraint on the required version of the plugin dependency. Not used for now, but we may add soft version checks in the future. Worth specifying anyway as it can provide helpful information when diagnosing plugin incompatibility issues. additional_attribute: Optional additional attributes in the form of name=value separated by semicolons. Not used for now. This is to support future functionality like marking a dependency as optional.
depString
- the dependency specifier StringDependency
public String getShortName()
public String getVersion()