Examples of IVersion


Examples of de.flapdoodle.embed.process.distribution.IVersion

        try {
            return Version.valueOf(versionEnumName);
        } catch (IllegalArgumentException e) {
            getLog().warn("Unrecognised MongoDB version '" + this.version + "', this might be a new version that we don't yet know about. Attemping download anyway...");
            return Versions.withFeatures(new IVersion() {
                @Override
                public String asInDownloadPath() {
                    return version;
                }
            });
View Full Code Here

Examples of net.sourceforge.javautil.classloader.resolver.IClassPackage.IVersion

        this.packages.put(id, pkg);
        this.primary.add(pkg);
        continue;
      }
     
      IVersion version = this.getVersion(pkg.getGroupId(), pkg.getArtifactId(), id, null);
      if (version == null) {
        this.packages.put(id, pkg);
      } else if (version.compareTo( pkg.getVersion() ) < 0) {
        IClassPackage old = this.packages.get(id);
       
        if (this.isPrimaryPackage(pkg, this)) {
          conflicts.add(pkg);
          log.info("Canceling upgrade for primary " + old + " [new: " + pkg + "]");
        } else {
          log.info("Upgrading from " + old + " to " + pkg);
          this.removeFromScope(pkg, this);
          this.packages.put(id, pkg);
        }
      } else if (version.compareTo( pkg.getVersion() ) > 0) {
        conflicts.add(pkg); this.conflicts.add(pkg);
      }
    }
   
    return conflicts;
View Full Code Here

Examples of net.sourceforge.javautil.classloader.resolver.IClassPackage.IVersion

  public IVersion getVersion (String groupId, String artifactId, IClassDependencyPool caller) {
    return this.getVersion(groupId, artifactId, this.getUniqueId(groupId, artifactId), caller);
  }
 
  protected IVersion getVersion (String groupId, String artifactId, String uniqueId, IClassDependencyPool caller) {
    IVersion version = null;
   
    if (parent != null && caller != parent) version = parent.getVersion(groupId, artifactId, this);
   
    if (version == null) {
      for (IClassDependencyPool pool : new ArrayList<IClassDependencyPool>(this.children)) {
View Full Code Here

Examples of net.sourceforge.javautil.classloader.resolver.IClassPackage.IVersion

    return parentPom != null && parentPom.isExcluded(reference);
  }
 
  protected IVersion resolveVersion (Dependency dependency) {
    if (this.dependencyManagement != null) {
      IVersion version = dependencyManagement.findVersion(dependency);
      if (version != null) return version;
    }
   
    if (this.parent != null && this.parent.getGroupId().equals(dependency.getGroupId()) &&
        this.parent.getArtifactId().equals(dependency.getArtifactId()) && this.parent.version != null) {
View Full Code Here

Examples of org.sdnplatform.sync.IVersion

    }

    public boolean doput(K key, Versioned<V> value) throws SyncException {
        StoreUtils.assertValidKey(key);

        IVersion version = value.getVersion();

        while(true) {
            List<Versioned<V>> items = map.get(key);
            // If we have no value, optimistically try to add one
            if(items == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.