com.atlassian.sal.core.upgrade
Class UpgradeTaskStub

java.lang.Object
  extended by com.atlassian.sal.core.upgrade.UpgradeTaskStub
All Implemented Interfaces:
com.atlassian.sal.api.upgrade.PluginUpgradeTask

public class UpgradeTaskStub
extends Object
implements com.atlassian.sal.api.upgrade.PluginUpgradeTask


Constructor Summary
UpgradeTaskStub(int buildNumber)
           
UpgradeTaskStub(int buildNumber, List<com.atlassian.sal.api.message.Message> errors)
           
 
Method Summary
 Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 int getBuildNumber()
           
 String getPluginKey()
           
 String getShortDescription()
           
 boolean isUpgraded()
           
 void setBuildNumber(int buildNumber)
           
 void setErrors(List<com.atlassian.sal.api.message.Message> errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTaskStub

public UpgradeTaskStub(int buildNumber)

UpgradeTaskStub

public UpgradeTaskStub(int buildNumber,
                       List<com.atlassian.sal.api.message.Message> errors)
Method Detail

getBuildNumber

public int getBuildNumber()
Specified by:
getBuildNumber in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask

getShortDescription

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

doUpgrade

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

setErrors

public void setErrors(List<com.atlassian.sal.api.message.Message> errors)

setBuildNumber

public void setBuildNumber(int buildNumber)

isUpgraded

public boolean isUpgraded()

getPluginKey

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


Copyright © 2011 Atlassian. All Rights Reserved.