Class TestVersionConstraint

java.lang.Object
org.eclipse.aether.internal.test.util.TestVersionConstraint
All Implemented Interfaces:
VersionConstraint

public final class TestVersionConstraint extends Object implements VersionConstraint
A constraint on versions for a dependency.
  • Constructor Details

    • TestVersionConstraint

      Creates a version constraint from the specified version range.
      Parameters:
      range - The version range, must not be null.
    • TestVersionConstraint

      public TestVersionConstraint(Version version)
      Creates a version constraint from the specified version.
      Parameters:
      version - The version, must not be null.
  • Method Details