public class

DummyUpgradeManager

extends Object
implements UpgradeManager
java.lang.Object
   ↳ com.atlassian.confluence.upgrade.impl.DummyUpgradeManager

Class Overview

A dummy implementation which does nothing really and reports true to 'isUpgraded()' requests.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.confluence.upgrade.UpgradeManager
Public Constructors
DummyUpgradeManager()
Public Methods
boolean configuredBuildNumberNewerThan(String buildNumber)
Returns true if the passed build number is less than the configured build number - that is, the version of the currently running Confluence is newer than the version passed.
void entireUpgradeFinished()
Called when all immediate and deferred upgrade actions have been performed *if* an upgrade was needed.
List<UpgradeError> getErrors()
boolean isUpgraded()
boolean needUpgrade()
boolean taskNewerThan(String buildNumber, UpgradeTask upgradeTask)
Returns true if the build number for the task is greater than the passed build number.
void upgrade(JohnsonEventContainer agentJohnson)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.upgrade.UpgradeManager

Public Constructors

public DummyUpgradeManager ()

Public Methods

public boolean configuredBuildNumberNewerThan (String buildNumber)

Returns true if the passed build number is less than the configured build number - that is, the version of the currently running Confluence is newer than the version passed.

public void entireUpgradeFinished ()

Called when all immediate and deferred upgrade actions have been performed *if* an upgrade was needed.

public List<UpgradeError> getErrors ()

public boolean isUpgraded ()

public boolean needUpgrade ()

public boolean taskNewerThan (String buildNumber, UpgradeTask upgradeTask)

Returns true if the build number for the task is greater than the passed build number. Usually indicates that the task should run as part of an upgrade.

public void upgrade (JohnsonEventContainer agentJohnson)