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