Class MigrationResource
java.lang.Object
io.ebeaninternal.dbmigration.model.MigrationResource
- All Implemented Interfaces:
Comparable<MigrationResource>
Migration XML resource that holds the changes to be applied.
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationResource(File migrationFile, io.ebean.migration.MigrationVersion version) Construct with a migration xml file. -
Method Summary
-
Constructor Details
-
MigrationResource
Construct with a migration xml file.
-
-
Method Details
-
toString
-
version
Return the version associated with this resource. -
read
Read and return the migration from the resource. -
compareTo
Compare by underlying version.- Specified by:
compareToin interfaceComparable<MigrationResource>
-