Class Locations

java.lang.Object
migratedb.v1.core.internal.util.Locations

public class Locations extends Object
Encapsulation of a location list. Removes duplicates and sub-locations (for file-based locations).
  • Constructor Details

    • Locations

      public Locations(List<Location> rawLocations)
      Creates a new Locations wrapper with these locations.
      Parameters:
      rawLocations - The locations to process.
    • Locations

      public Locations(List<String> rawLocations, @Nullable ClassLoader classLoader)
      Creates a new Locations wrapper with these locations.
      Parameters:
      rawLocations - The locations to process.
  • Method Details

    • getLocations

      public List<Location> getLocations()
      Returns:
      The locations.