Interface Version

All Superinterfaces:
Comparable<Version>

@Experimental public interface Version extends Comparable<Version>
A version or meta-version of an artifact or a dependency. A meta-version is a version suffixed with the SNAPSHOT keyword. Versions are usually parsed using the VersionParser service.
Since:
4.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string representation of this version.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • asString

      @Nonnull String asString()
      Returns a string representation of this version.
      Returns:
      the string representation of this version