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