public abstract class

AbstractUpgradeTask

extends Object
implements UpgradeTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.AbstractUpgradeTask
Known Direct Subclasses
Known Indirect Subclasses

Summary

Public Constructors
AbstractUpgradeTask()
Public Methods
void addErrors(String prefix, Collection<String> errors)
Useful for adding a bunch of errors (like from a command) with a prefix
void addErrors(Collection<String> errors)
@Nullable String dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
Collection<String> getErrors()
Return any errors that occur.
Protected Methods
void addError(String error)
String convertToSchemaTableName(String tableName)
ApplicationProperties getApplicationProperties()
Connection getDatabaseConnection()
DatabaseType getDatabaseType()
@Deprecated GenericDelegator getDelegator()
static EntityEngine getEntityEngine()
I18nHelper getI18nBean()
static OfBizDelegator getOfBizDelegator()
ReindexRequestService getReindexRequestService()
String getSchemaName()
boolean isMSSQL()
boolean isMYSQL()
boolean isORACLE()
boolean isPostgreSQL()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.upgrade.UpgradeTask

Public Constructors

public AbstractUpgradeTask ()

Public Methods

public void addErrors (String prefix, Collection<String> errors)

Useful for adding a bunch of errors (like from a command) with a prefix

public void addErrors (Collection<String> errors)

@Nullable public String dependsUpon ()

Return the Upgrade task id of another upgrade task that must be run prior to this task.

public Collection<String> getErrors ()

Return any errors that occur. Each entry is a string.

Protected Methods

protected void addError (String error)

protected String convertToSchemaTableName (String tableName)

protected ApplicationProperties getApplicationProperties ()

protected Connection getDatabaseConnection ()

protected DatabaseType getDatabaseType ()

@Deprecated protected GenericDelegator getDelegator ()

protected static EntityEngine getEntityEngine ()

protected I18nHelper getI18nBean ()

protected static OfBizDelegator getOfBizDelegator ()

protected ReindexRequestService getReindexRequestService ()

protected String getSchemaName ()

protected boolean isMSSQL ()

Throws
SQLException

protected boolean isMYSQL ()

Throws
SQLException

protected boolean isORACLE ()

Throws
SQLException

protected boolean isPostgreSQL ()