public DefaultDependencyDescriptor(ModuleDescriptor md, ModuleRevisionId mrid, boolean force, boolean changing, boolean transitive) { _md = md; _revId = mrid; _force = force; _changing = changing; _transitive = transitive;
public DefaultDependencyDescriptor(DependencyDescriptor dd, String revision) { _parentId = dd.getParentRevisionId(); _revId = ModuleRevisionId.newInstance(dd.getDependencyRevisionId(), revision); _force = dd.isForce(); _changing = dd.isChanging(); _transitive = dd.isTransitive(); String[] moduleConfs = dd.getModuleConfigurations(); for (int i = 0; i < moduleConfs.length; i++) { _confs.put(moduleConfs[i], new ArrayList(Arrays.asList(dd.getDependencyConfigurations(moduleConfs[i])))); _artifactsExcludes.put(moduleConfs[i], new ArrayList(Arrays.asList(dd.getDependencyArtifactsExcludes(moduleConfs[i])))); _artifactsIncludes.put(moduleConfs[i], new ArrayList(Arrays.asList(dd.getDependencyArtifactsIncludes(moduleConfs[i])))); }
    public DefaultDependencyDescriptor(ModuleDescriptor md, ModuleRevisionId mrid, boolean force, boolean changing, boolean transitive) {        _md = md;        _revId = mrid;        _force = force;        _changing = changing;        _transitive = transitive;    }