Package com.opencloud.rem.server.ext
Class PluginWrapper.Dependency
- java.lang.Object
-
- com.opencloud.rem.server.ext.PluginWrapper.Dependency
-
- Enclosing class:
- PluginWrapper
public static class PluginWrapper.Dependency extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortName()
String
getVersion()
static PluginWrapper.Dependency
parse(String depString)
Parses information on a plugin dependency from the specified String.String
toString()
-
-
-
Method Detail
-
parse
public static PluginWrapper.Dependency parse(String depString)
Parses information on a plugin dependency from the specified String. Specified in the format: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.
- Parameters:
depString
- the dependency specifier String- Returns:
- the
Dependency
-
getShortName
public String getShortName()
-
getVersion
public String getVersion()
-
-