com.atlassian.bamboo.upgrade
Class AbstractUpgradeTask

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
AbstractBootstrapUpgradeTask, AbstractInHibernateTransactionUpgradeTask, UpgradeTask1002CleanupEmptyAuthors, UpgradeTask1101NotificationRecipients, UpgradeTask1102NotificationRecipients, UpgradeTask1300PipelineEnabledByDefault, UpgradeTask1301RemoveDuplicatedCommits, UpgradeTask1310UpdateEBSSnapshot, UpgradeTask1701BackupScheduleCronExpression, UpgradeTask1702WebRepositoryViewer, UpgradeTask1703RemoteApiEnableByDefault, UpgradeTask1704Dependencies, UpgradeTask1800BuildType, UpgradeTask1801RemovingObsoleteTable, UpgradeTask1803ProperlyDisableMaven2PlanDependencies, UpgradeTask1804ArtifactLinks, UpgradeTask1823ExpiryTypeMigration, UpgradeTask1825MovingTestsAndArtifactLinksToDB, UpgradeTask1838UpdateJabberServerTlsFlag, UpgradeTask1904FixTestCaseCount, UpgradeTask2005XmlBuildResultBuildStateTranslation, UpgradeTask2006BuildResultType, UpgradeTask2011JobAcls, UpgradeTask2015SetFirstBuildNumbers, UpgradeTask2022SetChainResultRelationshipOnJobResult, UpgradeTask2025BuildChainConversion, UpgradeTask2032ChangeDepProviderIdToKey, UpgradeTask2209NewArtifactDirStructure, UpgradeTask2214RemoveLatestArtifactDirs, UpgradeTask2301InitArtifactLinksSize, UpgradeTask2302RemoveOrphanedBuildData, UpgradeTask901JiraIssueTypes, UpgradeTask902Reindex

public abstract class AbstractUpgradeTask
extends java.lang.Object
implements UpgradeTask


Field Summary
protected  java.util.List<java.lang.String> errors
           
 
Constructor Summary
protected AbstractUpgradeTask()
           
protected AbstractUpgradeTask(java.lang.String buildNumber, java.lang.String shortDescription)
           
 
Method Summary
 java.lang.String getBuildNumber()
           
 java.util.List<java.lang.String> getErrors()
           
 java.lang.String getShortDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
 

Field Detail

errors

protected final java.util.List<java.lang.String> errors
Constructor Detail

AbstractUpgradeTask

protected AbstractUpgradeTask()

AbstractUpgradeTask

protected AbstractUpgradeTask(@NotNull
                              java.lang.String buildNumber,
                              @NotNull
                              java.lang.String shortDescription)
Method Detail

getErrors

@NotNull
public java.util.List<java.lang.String> getErrors()
Specified by:
getErrors in interface UpgradeTask
Returns:
Return any errors that occur.

getBuildNumber

@NotNull
public java.lang.String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Returns:
The build number that this upgrade is applicable to.

getShortDescription

@NotNull
public java.lang.String getShortDescription()
Specified by:
getShortDescription in interface UpgradeTask
Returns:
A short (<50 chars) description of the upgrade action


Copyright © 2011 Atlassian. All Rights Reserved.