Package org.sonatype.nexus.client.core.condition.internal

Examples of org.sonatype.nexus.client.core.condition.internal.GenericVersionScheme


    }
  }

  private static VersionConstraint parseVersionConstraint(final String versionConstraint) {
    try {
      return new GenericVersionScheme().parseVersionConstraint(versionConstraint);
    }
    catch (InvalidVersionSpecificationException e) {
      throw new IllegalArgumentException("Unable to parse version constraint: " + versionConstraint, e);
    }
  }
View Full Code Here


    }
  }

  private static Version parseVersion(final String version) {
    try {
      return new GenericVersionScheme().parseVersion(version);
    }
    catch (InvalidVersionSpecificationException e) {
      throw new IllegalArgumentException("Unable to parse version: " + version, e);
    }
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.client.core.condition.internal.GenericVersionScheme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.