com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask3103ReindexBamboo

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.tasks.UpgradeTask3103ReindexBamboo
All Implemented Interfaces:
RequiresReindexUpgradeTask, UpgradeTask

public class UpgradeTask3103ReindexBamboo
extends java.lang.Object
implements RequiresReindexUpgradeTask


Constructor Summary
UpgradeTask3103ReindexBamboo()
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 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
 

Constructor Detail

UpgradeTask3103ReindexBamboo

public UpgradeTask3103ReindexBamboo()
Method Detail

getShortDescription

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

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Throws:
java.lang.Exception - to signalize error during upgrade process

getBuildNumber

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

getErrors

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


Copyright © 2012 Atlassian. All Rights Reserved.