@Component
public class GitHubEngineConfigurationMigrationAction
extends java.lang.Object
implements net.nemerosa.ontrack.model.support.DBMigrationAction
| Modifier and Type | Class and Description |
|---|---|
static class |
GitHubEngineConfigurationMigrationAction.OldConfiguration
Representation of an old configuration
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GITHUB_ENGINE_PATCH
Version of the database to migrate.
|
| Constructor and Description |
|---|
GitHubEngineConfigurationMigrationAction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
int |
getPatch() |
void |
migrate(java.sql.Connection connection) |
public static final int GITHUB_ENGINE_PATCH
public GitHubEngineConfigurationMigrationAction()
public int getPatch()
getPatch in interface net.nemerosa.ontrack.model.support.DBMigrationActionpublic void migrate(java.sql.Connection connection)
throws java.lang.Exception
migrate in interface net.nemerosa.ontrack.model.support.DBMigrationActionjava.lang.Exceptionpublic java.lang.String getDisplayName()
getDisplayName in interface net.nemerosa.ontrack.model.support.DBMigrationAction