Package migratedb.v1.core.api
Class Location
java.lang.Object
migratedb.v1.core.api.Location
- Direct Known Subclasses:
Location.ClassPathLocation,Location.CustomLocation,Location.FileSystemLocation
A location to load migrations from.
Note: Although this class is declared abstract, it is not meant to be subclassed outside its compilation unit. To
provide a custom location type, use Location.CustomLocation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionabstract ClassProvider<?>abstract booleanexists()static Locationparse(String locationString, @Nullable ClassLoader classLoader) abstract ResourceProviderabstract StringtoString()The inverse ofparse(String, ClassLoader).
-
Method Details
-
parse
-
resourceProvider
-
classProvider
-
exists
public abstract boolean exists() -
toString
The inverse ofparse(String, ClassLoader).
-