}
return;
}
// Replace the selected instance
final Iterator<ExecutionVertex> it = resourceToBeReplaced.assignedVertices();
while (it.hasNext()) {
final ExecutionVertex vertex = it.next();
vertex.setAllocatedResource(allocatedResource);
vertex.updateExecutionState(ExecutionState.ASSIGNED);
}