protected List<PowerHost> extractHostListFromMigrationMap(List<Map<String,Object>> migrationMap){
  List<PowerHost> hosts=new LinkedList<PowerHost>();
  for (  Map<String,Object> map : migrationMap) {
    hosts.add((PowerHost)map.get("host"));
  }
  return hosts;
}

protected List < PowerHost > extractHostListFromMigrationMap ( List < Map < String , Object > > migrationMap ) { List < PowerHost > hosts = new LinkedList < PowerHost > ( ) ; for ( Map < String , Object > map : migrationMap ) { hosts . add ( ( PowerHost ) map . get ( "host" ) ) ; } return hosts ; }
extracts the host list from a migration map .
