com.atlassian.bamboo.upgrade
Class AbstractUpgradeTask

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
AbstractInHibernateTransactionUpgradeTask, UpgradeTask1002CleanupEmptyAuthors, UpgradeTask1101NotificationRecipients, UpgradeTask1102NotificationRecipients, UpgradeTask1300PipelineEnabledByDefault, UpgradeTask1301RemoveDuplicatedCommits, UpgradeTask1310UpdateEBSSnapshot, UpgradeTask1701BackupScheduleCronExpression, UpgradeTask1702WebRepositoryViewer, UpgradeTask1703RemoteApiEnableByDefault, UpgradeTask1704Dependencies, UpgradeTask1800BuildType, UpgradeTask1801RemovingObsoleteTable, UpgradeTask1803ProperlyDisableMaven2PlanDependencies, UpgradeTask1804ArtifactLinks, UpgradeTask1822ArtifactLinksAdditionalProperties, UpgradeTask1823ExpiryTypeMigration, UpgradeTask1825MovingTestsAndArtifactLinksToDB, UpgradeTask1838UpdateJabberServerTlsFlag, UpgradeTask501, UpgradeTask601, UpgradeTask602, UpgradeTask603VcsKeyForBuild, UpgradeTask604LatestVcsKeyForBuild, UpgradeTask605TriggerReasons, UpgradeTask607PipelineTableUpdate, UpgradeTask608BuildLogStorageUpdate, UpgradeTask609BuilderAndJdkToCapabilities, UpgradeTask610BuilderPlanRequirements, UpgradeTask611DefaultCapabilitySets, UpgradeTask612AllowedBuilds, UpgradeTask705PerforceCapability, UpgradeTask707PerforceRequirement, UpgradeTask710RenameQueues, UpgradeTask713CleanCapabilitiesRequirements, 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.Collection<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.Collection<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 © 2010 Atlassian. All Rights Reserved.