Package io.ebean.migration.runner
Class LocalDdlMigrationResource
- java.lang.Object
-
- io.ebean.migration.runner.LocalMigrationResource
-
- io.ebean.migration.runner.LocalDdlMigrationResource
-
- All Implemented Interfaces:
Comparable<LocalMigrationResource>
public class LocalDdlMigrationResource extends LocalMigrationResource
A DB migration resource (DDL script with version).
-
-
Constructor Summary
Constructors Constructor Description LocalDdlMigrationResource(MigrationVersion version, String location, io.avaje.classpath.scanner.Resource resource)Construct with version and resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()Return the content for the migration apply ddl script.-
Methods inherited from class io.ebean.migration.runner.LocalMigrationResource
compareTo, getComment, getLocation, getType, getVersion, isRepeatable, isRepeatableInit, isRepeatableLast, key, setInitType, toString
-
-
-
-
Constructor Detail
-
LocalDdlMigrationResource
public LocalDdlMigrationResource(MigrationVersion version, String location, io.avaje.classpath.scanner.Resource resource)
Construct with version and resource.
-
-
Method Detail
-
getContent
public String getContent()
Return the content for the migration apply ddl script.- Specified by:
getContentin classLocalMigrationResource
-
-