com.atlassian.bamboo.upgrader
Class VersionTwentyToVersionTwentyOneUpgrader

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

public class VersionTwentyToVersionTwentyOneUpgrader
extends AbstractBuildUpgrader

Replaces Build id's with keys


Nested Class Summary
 class VersionTwentyToVersionTwentyOneUpgrader.MyOriginalBuild
           
 class VersionTwentyToVersionTwentyOneUpgrader.MyReplacementBuild
           
 
Constructor Summary
VersionTwentyToVersionTwentyOneUpgrader(File buildDirectory)
          Initialise the upgrader with the location of the configuration files and webapp root directory
 
Method Summary
 String generateBuildKey(String buildName, int attempt)
           
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

VersionTwentyToVersionTwentyOneUpgrader

public VersionTwentyToVersionTwentyOneUpgrader(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

updateBuildFile

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

generateBuildKey

public String generateBuildKey(String buildName,
                               int attempt)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.