Package migratedb.v1.core.api
Class Location.ClassPathLocation
java.lang.Object
migratedb.v1.core.api.Location
migratedb.v1.core.api.Location.ClassPathLocation
- Enclosing class:
- Location
-
Nested Class Summary
Nested classes/interfaces inherited from class migratedb.v1.core.api.Location
Location.ClassPathLocation, Location.CustomLocation, Location.FileSystemLocation -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanexists()inthashCode()toString()The inverse ofLocation.parse(String, ClassLoader).
-
Field Details
-
PREFIX
The prefix for classpath locations.- See Also:
-
RESOURCE_LIST_RESOURCE_NAME
The resource that contains the names of resources to provide. One line per resource.- See Also:
-
CLASS_LIST_RESOURCE_NAME
The resource that contains the names of classes to provide. One line per class.- See Also:
-
-
Constructor Details
-
ClassPathLocation
-
-
Method Details
-
namePrefix
- Returns:
- The resource name prefix of the index files without leading or trailing slashes, e.g.
db/migration.
-
resourceProvider
- Specified by:
resourceProviderin classLocation
-
classProvider
- Specified by:
classProviderin classLocation
-
exists
public boolean exists() -
equals
-
hashCode
public int hashCode() -
toString
Description copied from class:LocationThe inverse ofLocation.parse(String, ClassLoader).
-