public DependencyEdge(
     ConfigurationNode from,
     DependencyMetaData dependencyMetaData,
     ModuleResolutionFilter resolutionFilter,
     ResolveState resolveState) {
   this.from = from;
   this.dependencyMetaData = dependencyMetaData;
   this.resolutionFilter = resolutionFilter;
   this.resolveState = resolveState;
   selector = resolveState.getSelector(dependencyMetaData);
 }
Пример #2
0
 public DependencyEdge(
     ConfigurationNode from,
     DependencyMetaData dependencyMetaData,
     ModuleVersionSpec selectorSpec,
     ResolveState resolveState) {
   this.from = from;
   this.dependencyMetaData = dependencyMetaData;
   this.dependencyDescriptor = dependencyMetaData.getDescriptor();
   this.selectorSpec = selectorSpec;
   this.resolveState = resolveState;
   selector = resolveState.getSelector(dependencyMetaData);
 }