public abstract class AbstractStatementUpgradeTask extends AbstractInHibernateTransactionUpgradeTask
Statement
errors
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, setBambooConnectionTemplate
getBuildNumber, getErrors, getShortDescription
protected 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 AbstractInHibernateTransactionUpgradeTask
SQLException
protected abstract boolean isShouldRunUpgrade(@NotNull @NotNull Statement statement) throws SQLException
statement
- SQLException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.