}
Iterator<ExecutionVertex> vertexIter = allocatedResource.assignedVertices();
// Assign vertices back to a dummy resource.
final DummyInstance dummyInstance = DummyInstance.createDummyInstance(allocatedResource
.getInstance()
.getType());
final AllocatedResource dummyResource = new AllocatedResource(dummyInstance,
allocatedResource.getInstanceType(), new AllocationID());