com.atlassian.bamboo.upgrader
Class VersionTwentyTwoToVersionTwentyThreeUpgrader

java.lang.Object
  extended by com.atlassian.bamboo.upgrader.AbstractBuildUpgrader
      extended by com.atlassian.bamboo.upgrader.VersionTwentyTwoToVersionTwentyThreeUpgrader
All Implemented Interfaces:
Upgrader

public class VersionTwentyTwoToVersionTwentyThreeUpgrader
extends AbstractBuildUpgrader

Renames build data directory from build to build-


Constructor Summary
VersionTwentyTwoToVersionTwentyThreeUpgrader(File buildDirectory)
          Initialise the upgrader with the location of the configuration files and webapp root directory
 
Method Summary
protected  void updateBuildFile(File buildFile)
           
 void upgrade()
          Updgrade the build and configuration files one version
 
Methods inherited from class com.atlassian.bamboo.upgrader.AbstractBuildUpgrader
getBuildDirectory, getXStreamPersister, readInTheBuildFile, readInTheBuildFile, saveBuildBackToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionTwentyTwoToVersionTwentyThreeUpgrader

public VersionTwentyTwoToVersionTwentyThreeUpgrader(File buildDirectory)
Initialise the upgrader with the location of the configuration files and webapp root directory

Parameters:
buildDirectory - The location of the Bamboo build files
Method Detail

upgrade

public void upgrade()
Description copied from class: AbstractBuildUpgrader
Updgrade the build and configuration files one version

Specified by:
upgrade in interface Upgrader
Overrides:
upgrade in class AbstractBuildUpgrader

updateBuildFile

protected void updateBuildFile(File buildFile)
Specified by:
updateBuildFile in class AbstractBuildUpgrader


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.