com.atlassian.greenhopper.upgrade
Class AbstractGhUpgradeTask

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.upgrade.AbstractGhUpgradeTask
All Implemented Interfaces:
com.atlassian.sal.api.upgrade.PluginUpgradeTask
Direct Known Subclasses:
GhUpgradeTask012, GhUpgradeTask013, GhUpgradeTask014, GhUpgradeTask015, GhUpgradeTask016, GhUpgradeTask017, GhUpgradeTask018, GhUpgradeTask019, GhUpgradeTask020, GhUpgradeTask021, GhUpgradeTask022

public abstract class AbstractGhUpgradeTask
extends AbstractLoggable
implements com.atlassian.sal.api.upgrade.PluginUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
AbstractGhUpgradeTask()
           
 
Method Summary
 Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 String getPluginKey()
           
protected abstract  void performUpgrade()
           
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
getBuildNumber, getShortDescription
 

Constructor Detail

AbstractGhUpgradeTask

public AbstractGhUpgradeTask()
Method Detail

doUpgrade

public final Collection<com.atlassian.sal.api.message.Message> doUpgrade()
                                                                  throws Exception
Specified by:
doUpgrade in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
Throws:
Exception

getPluginKey

public String getPluginKey()
Specified by:
getPluginKey in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask

performUpgrade

protected abstract void performUpgrade()
                                throws Exception
Throws:
Exception


Copyright © 2007-2012 Atlassian. All Rights Reserved.