question: List < VPlexMigrationInfo > findMigrations ( List < String > migrationNames ) throws VPlexApiException { List < VPlexMigrationInfo > migrationInfoList = new ArrayList < VPlexMigrationInfo > ( ) ; for ( String migrationName : migrationNames ) { try { VPlexMigrationInfo migrationInfo = findMigration ( migrationName , VPlexApiConstants . URI_DEVICE_MIGRATIONS ) ; migrationInfo . setIsDeviceMigration ( true ) ; migrationInfoList . add ( migrationInfo ) ; } catch ( VPlexApiException vae ) { s_logger . info ( "Migration {} not found with device migrations" ) ; VPlexMigrationInfo migrationInfo = findMigration ( migrationName , VPlexApiConstants . URI_EXTENT_MIGRATIONS ) ; migrationInfo . setIsDeviceMigration ( false ) ; migrationInfoList . add ( migrationInfo ) ; } } return migrationInfoList ; }
target:  Finds the migrations with the passed names.