public abstract class AbstractStatementUpgradeTask extends AbstractInHibernateTransactionUpgradeTask
Statementerrors| 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, setBambooConnectionTemplategetBuildNumber, getErrors, getShortDescriptionprotected AbstractStatementUpgradeTask(@NotNull
String buildNumber,
@NotNull
String shortDescription)
protected AbstractStatementUpgradeTask(@NotNull
String shortDescription)
public void doUpgrade(@NotNull
Connection connection)
throws SQLException
doUpgrade in class AbstractInHibernateTransactionUpgradeTaskSQLExceptionprotected abstract boolean isShouldRunUpgrade(@NotNull
Statement statement)
throws SQLException
statement - SQLExceptionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.