Package migratedb.v1.core.api
Class Location.FileSystemLocation
- java.lang.Object
-
- migratedb.v1.core.api.Location
-
- migratedb.v1.core.api.Location.FileSystemLocation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class migratedb.v1.core.api.Location
Location.ClassPathLocation, Location.CustomLocation, Location.FileSystemLocation
-
-
Constructor Summary
Constructors Constructor Description FileSystemLocation(Path baseDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassProvider<?>classProvider()booleanequals(Object o)booleanexists()PathgetBaseDirectory()inthashCode()ResourceProviderresourceProvider()StringtoString()The inverse ofLocation.parse(String, ClassLoader).
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
The prefix for filesystem locations.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileSystemLocation
public FileSystemLocation(Path baseDirectory)
-
-
Method Detail
-
resourceProvider
public ResourceProvider resourceProvider()
- Specified by:
resourceProviderin classLocation
-
classProvider
public ClassProvider<?> classProvider()
- Specified by:
classProviderin classLocation
-
getBaseDirectory
public Path getBaseDirectory()
- Returns:
- The absolute, normalized base directory path.
-
toString
public String toString()
Description copied from class:LocationThe inverse ofLocation.parse(String, ClassLoader).
-
-