Package net.solarnetwork.node.setup
Interface PluginVersion
- All Superinterfaces:
Comparable<PluginVersion>
- All Known Implementing Classes:
BundlePluginVersion
A plugin version.
Purposely compatible with OSGi org.osgi.framework.Version class.
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionGet a normalized string encoding of this version.intgetMajor()Returns the major component of this version identifier.intgetMicro()Returns the micro component of this version identifier.intgetMinor()Returns the minor component of this version identifier.Returns the qualifier component of this version identifier.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getMajor
int getMajor()Returns the major component of this version identifier.- Returns:
- The major component.
-
getMinor
int getMinor()Returns the minor component of this version identifier.- Returns:
- The minor component.
-
getMicro
int getMicro()Returns the micro component of this version identifier.- Returns:
- The micro component.
-
getQualifier
String getQualifier()Returns the qualifier component of this version identifier.- Returns:
- The qualifier component.
-
asNormalizedString
String asNormalizedString()Get a normalized string encoding of this version.- Returns:
- a string
-