public class DBMigrationPatch
extends java.lang.Object
implements net.sf.dbinit.DBPatchAction
| Constructor and Description |
|---|
DBMigrationPatch(int patch,
net.nemerosa.ontrack.model.support.DBMigrationAction migrationAction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(int patch) |
void |
apply(java.sql.Connection connection,
int patch) |
java.lang.String |
getDisplayName() |
public DBMigrationPatch(int patch,
net.nemerosa.ontrack.model.support.DBMigrationAction migrationAction)
public java.lang.String getDisplayName()
getDisplayName in interface net.sf.dbinit.DBPatchActionpublic boolean appliesTo(int patch)
appliesTo in interface net.sf.dbinit.DBPatchActionpublic void apply(java.sql.Connection connection,
int patch)
throws java.lang.Exception
apply in interface net.sf.dbinit.DBPatchActionjava.lang.Exception