Class VersionSchemeSupport

java.lang.Object
org.eclipse.aether.util.version.VersionSchemeSupport
All Implemented Interfaces:
org.eclipse.aether.version.VersionScheme
Direct Known Subclasses:
GenericVersionScheme

public abstract class VersionSchemeSupport extends Object implements org.eclipse.aether.version.VersionScheme
A version scheme support class. A new implementation should extend this class and would receive full support for ranges and constraints. The new implementation should implement Version and the one missing method in this class, the VersionScheme.parseVersion(String).
Since:
2.0.0
  • Constructor Details

  • Method Details

    • parseVersionRange

      public GenericVersionRange parseVersionRange(String range) throws org.eclipse.aether.version.InvalidVersionSpecificationException
      Specified by:
      parseVersionRange in interface org.eclipse.aether.version.VersionScheme
      Throws:
      org.eclipse.aether.version.InvalidVersionSpecificationException
    • parseVersionConstraint

      public GenericVersionConstraint parseVersionConstraint(String constraint) throws org.eclipse.aether.version.InvalidVersionSpecificationException
      Specified by:
      parseVersionConstraint in interface org.eclipse.aether.version.VersionScheme
      Throws:
      org.eclipse.aether.version.InvalidVersionSpecificationException