java.lang.Object
io.ebean.migration.runner.LocalMigrationResource
io.ebean.migration.runner.LocalJdbcMigrationResource
- All Implemented Interfaces:
Comparable<LocalMigrationResource>
A DB migration resource (JdbcMigration with version).
- Author:
- Roland Praml, FOCONIS AG
-
Field Summary
Fields inherited from class io.ebean.migration.runner.LocalMigrationResource
location, version -
Constructor Summary
ConstructorsConstructorDescriptionLocalJdbcMigrationResource(MigrationVersion version, String location, JdbcMigration migration) Construct with version and resource. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the checksum of the migration routine.Return the content of the migration.Return the migrationMethods inherited from class io.ebean.migration.runner.LocalMigrationResource
compareTo, getComment, getLocation, getType, getVersion, isRepeatable, isRepeatableInit, isRepeatableLast, key, setInitType, toString
-
Constructor Details
-
LocalJdbcMigrationResource
public LocalJdbcMigrationResource(MigrationVersion version, String location, JdbcMigration migration) Construct with version and resource.
-
-
Method Details
-
getMigration
Return the migration -
getChecksum
public int getChecksum()Returns the checksum of the migration routine. -
getContent
Description copied from class:LocalMigrationResourceReturn the content of the migration.- Specified by:
getContentin classLocalMigrationResource
-