public abstract class AbstractStatementUpgradeTask extends AbstractInHibernateTransactionUpgradeTask
Statementerrors| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStatementUpgradeTask(@NotNull String shortDescription) |
protected |
AbstractStatementUpgradeTask(@NotNull String buildNumber,
@NotNull String shortDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpgrade(@NotNull Connection connection) |
protected abstract @NotNull List<String> |
getSqlStatements()
A list of SQL statements to be run in order.
|
protected abstract boolean |
isShouldRunUpgrade(@NotNull Statement statement)
Whether or not the upgrade task should actually run
|
doUpgrade, setBambooConnectionTemplategetBuildNumber, getErrors, getShortDescriptionprotected AbstractStatementUpgradeTask(@NotNull
@NotNull String buildNumber,
@NotNull
@NotNull String shortDescription)
protected AbstractStatementUpgradeTask(@NotNull
@NotNull String shortDescription)
public void doUpgrade(@NotNull
@NotNull Connection connection)
throws SQLException
doUpgrade in class AbstractInHibernateTransactionUpgradeTaskSQLExceptionprotected abstract boolean isShouldRunUpgrade(@NotNull
@NotNull Statement statement)
throws SQLException
statement - SQLExceptionCopyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.