public void upgradeConfiguration(Artifact existingId, Artifact newId, Set newLoadParentIds, Set newStartParentIds) throws NoSuchConfigException {
Set newStartParents = getStatuses(newStartParentIds);
// load parents are a superset of start parents
Set newLoadParents = new LinkedHashSet(newStartParents);
newLoadParents.addAll(getStatuses(newLoadParentIds));
ConfigurationStatus configurationStatus = (ConfigurationStatus) configurations.remove(existingId);
if (configurationStatus == null) {
throw new NoSuchConfigException(existingId);
}