com.atlassian.bamboo.upgrader
Class VersionThreeToVersionFourUpgrader
java.lang.Object
com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
com.atlassian.bamboo.upgrader.VersionThreeToVersionFourUpgrader
- All Implemented Interfaces:
- Upgrader
public class VersionThreeToVersionFourUpgrader
- extends AbstractXStreamPersister
- implements Upgrader
This class converts version 3 build files into version 4. This involves:
Placing the build results in a date based directory structure to speed up loading of the latest results.
Adding the build result summaries to the build object
Revamping the builds map to incorporate the above requirements
|
Method Summary |
void |
upgrade()
Upgrade each build in the builds directory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionThreeToVersionFourUpgrader
public VersionThreeToVersionFourUpgrader(File buildDirectory)
- Initialse the upgrader with the system configuration
- Parameters:
buildDirectory - The location of the build data files
upgrade
public void upgrade()
- Upgrade each build in the builds directory
- Specified by:
upgrade in interface Upgrader
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.