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, GhUpgradeTask023, GhUpgradeTask024

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
 java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 java.lang.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 java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
                                                                            throws java.lang.Exception
Specified by:
doUpgrade in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
Throws:
java.lang.Exception

getPluginKey

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

performUpgrade

protected abstract void performUpgrade()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007-2012 Atlassian. All Rights Reserved.