public ModuleVersionResolveState clearSelection() { ModuleVersionResolveState previousSelection = selected; selected = null; for (ModuleVersionResolveState version : versions.values()) { version.state = ModuleState.Conflict; } return previousSelection; }
public void select(ModuleVersionResolveState selected) { assert this.selected == null; this.selected = selected; for (ModuleVersionResolveState version : versions.values()) { version.state = ModuleState.Evicted; } selected.state = ModuleState.Selected; }
public void restart(ModuleVersionResolveState selected) { select(selected); for (ModuleVersionResolveState version : versions.values()) { version.restart(selected); } for (ModuleVersionSelectorResolveState selector : selectors) { selector.restart(selected); } for (DependencyEdge dependency : new ArrayList<DependencyEdge>(unattachedDependencies)) { dependency.restart(selected); } unattachedDependencies.clear(); }
public Collection<ModuleVersionResolveState> getVersions() { return versions.values(); }
public Collection<ConfigurationNode> getConfigurationNodes() { return nodes.values(); }