com.atlassian.confluence.upgrade.upgradetask
Class BundleUserMacrosUpgradeTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.AbstractUpgradeTask
      extended by com.atlassian.confluence.upgrade.upgradetask.BundleUserMacrosUpgradeTask
All Implemented Interfaces:
DatabaseUpgradeTask, UpgradeTask

Deprecated. BN 3.4 - This upgrade task cannot be used since it cannot be applied to new installs (CONFDEV-796). Reinstate this task when user macros are proper plugins.

@Deprecated
public class BundleUserMacrosUpgradeTask
extends AbstractUpgradeTask
implements DatabaseUpgradeTask


Constructor Summary
BundleUserMacrosUpgradeTask(UserMacroLibrary userMacroLibrary, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory, MacroManager macroManager)
          Deprecated.  
 
Method Summary
 void doUpgrade()
          Deprecated. Perform the upgrade.
 String getBuildNumber()
          Deprecated.  
 String getShortDescription()
          Deprecated. A short (<50 chars) description of the upgrade action
 
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask
addAllErrors, addError, addError, getConstraint, getErrors, 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
 

Constructor Detail

BundleUserMacrosUpgradeTask

public BundleUserMacrosUpgradeTask(UserMacroLibrary userMacroLibrary,
                                   com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
                                   MacroManager macroManager)
Deprecated. 
Method Detail

getBuildNumber

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

getShortDescription

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

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

doUpgrade

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

Specified by:
doUpgrade in interface UpgradeTask
Throws:
Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.