Interface PluginVersion

All Superinterfaces:
Comparable<PluginVersion>
All Known Implementing Classes:
BundlePluginVersion

public interface PluginVersion extends Comparable<PluginVersion>
A plugin version.

Purposely compatible with OSGi org.osgi.framework.Version class.

Version:
1.0
Author:
matt
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a normalized string encoding of this version.
    int
    Returns the major component of this version identifier.
    int
    Returns the micro component of this version identifier.
    int
    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