com.atlassian.bamboo.upgrader
Class VersionNineteenToVersionTwentyUpgrader
java.lang.Object
com.atlassian.bamboo.upgrader.AbstractBuildUpgrader
com.atlassian.bamboo.upgrader.VersionNineteenToVersionTwentyUpgrader
- All Implemented Interfaces:
- Upgrader
public class VersionNineteenToVersionTwentyUpgrader
- extends AbstractBuildUpgrader
Replaces the Builder paths with labels.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionNineteenToVersionTwentyUpgrader
public VersionNineteenToVersionTwentyUpgrader(File configurationDirectory,
File buildDirectory)
- Initialise the upgrader with the location of the configuration files and webapp root directory
- Parameters:
configurationDirectory - The location of the configuration filesbuildDirectory - The location of the Bamboo build files
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
getXStreamPersister
public AbstractXStreamPersister getXStreamPersister()
- Overrides:
getXStreamPersister in class AbstractBuildUpgrader
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.