com.atlassian.confluence.upgrade.upgradetask
Class NewColourUpgradeTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.AbstractUpgradeTask
      extended by com.atlassian.confluence.upgrade.upgradetask.NewColourUpgradeTask
All Implemented Interfaces:
BackupSupport, DatabaseUpgradeTask, UpgradeTask, UpgradeTaskInfo, org.springframework.beans.factory.BeanNameAware

public class NewColourUpgradeTask
extends AbstractUpgradeTask
implements DatabaseUpgradeTask


Constructor Summary
NewColourUpgradeTask(com.atlassian.bandana.BandanaManager bandanaManager)
           
 
Method Summary
 boolean breaksBackwardCompatibility()
          This upgrade task is a nicety that should not prevent downgrade.
 void doUpgrade()
          Perform the upgrade.
 java.lang.String getBuildNumber()
           
 java.lang.String getShortDescription()
          A short (<50 chars) description of the upgrade action
 boolean runOnSpaceImport()
          This upgrade task does not get applied to spaces.
 
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask
addAllErrors, addError, addError, getConstraint, getErrors, getName, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
getConstraint, getErrors, validate
 
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTaskInfo
getName, isDatabaseUpgrade
 

Constructor Detail

NewColourUpgradeTask

public NewColourUpgradeTask(com.atlassian.bandana.BandanaManager bandanaManager)
Method Detail

getBuildNumber

public java.lang.String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTaskInfo
Overrides:
getBuildNumber in class AbstractUpgradeTask
Returns:
The build number that this upgrade is applicable to

getShortDescription

public java.lang.String getShortDescription()
Description copied from interface: UpgradeTaskInfo
A short (<50 chars) description of the upgrade action

Specified by:
getShortDescription in interface UpgradeTaskInfo
Overrides:
getShortDescription in class AbstractUpgradeTask

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Throws:
java.lang.Exception

runOnSpaceImport

public boolean runOnSpaceImport()
This upgrade task does not get applied to spaces.

Specified by:
runOnSpaceImport in interface BackupSupport

breaksBackwardCompatibility

public boolean breaksBackwardCompatibility()
This upgrade task is a nicety that should not prevent downgrade.

Specified by:
breaksBackwardCompatibility in interface BackupSupport


Copyright © 2003-2014 Atlassian. All Rights Reserved.