com.atlassian.bamboo.upgrader
Class VersionSevenToVersionEightUpgrader

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

public class VersionSevenToVersionEightUpgrader
extends AbstractBuildUpgrader

This class updgrades version seven build files to version eight build files.

Simply removed deprecated fields so that they can be loaded by the xml persister


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

Constructor Detail

VersionSevenToVersionEightUpgrader

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

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

updateBuildFile

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


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.