public abstract class

AbstractDowngradeTask

extends Object
implements DowngradeTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.AbstractDowngradeTask
Known Direct Subclasses

Class Overview

Abstract DowngradeTask - takes care of providing DB access via OfBizDelegator or DbConnectionManager.

Summary

Public Constructors
AbstractDowngradeTask()
Public Methods
@Nonnull DbConnectionManager getDbConnectionManager()
Provides access to the DB for this Downgrade Task.
@Nonnull OfBizDelegator getOfBizDelegator()
Provides access to the DB for this Downgrade Task.
void setDbConnectionManager(DbConnectionManager dbConnectionManager)
This is how the Downgrade task framework injects the DbConnectionManager.
void setOfBizDelegator(OfBizDelegator ofBizDelegator)
This is how the Downgrade task framework injects the OfBizDelegator.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.upgrade.DowngradeTask

Public Constructors

public AbstractDowngradeTask ()

Public Methods

@Nonnull public DbConnectionManager getDbConnectionManager ()

Provides access to the DB for this Downgrade Task.

Returns
  • the DbConnectionManager

@Nonnull public OfBizDelegator getOfBizDelegator ()

Provides access to the DB for this Downgrade Task.

Returns
  • the OfBizDelegator

public void setDbConnectionManager (DbConnectionManager dbConnectionManager)

This is how the Downgrade task framework injects the DbConnectionManager.

This method is implemented by AbstractDowngradeTask.

public void setOfBizDelegator (OfBizDelegator ofBizDelegator)

This is how the Downgrade task framework injects the OfBizDelegator.

This method is implemented by AbstractDowngradeTask.