|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.persister.FastBuildDefinitionDirectoryMapper
public class FastBuildDefinitionDirectoryMapper
This class allocates and keeps track of which builds are stored in which directories.
| Nested Class Summary | |
|---|---|
class |
FastBuildDefinitionDirectoryMapper.FastBuildDetails
|
| Constructor Summary | |
|---|---|
FastBuildDefinitionDirectoryMapper(File buildDirectory)
|
|
| Method Summary | |
|---|---|
String |
addBuild(Build build)
Adds the build name to the build mapper. |
String |
addBuild(String buildName,
String buildDirName)
Map the given buildName to the given buildDirName |
void |
addBuildBuildResults(String buildName,
long buildNumber,
String buildFile)
|
String |
getBuildBuildFile(String buildName,
long buildNumber)
|
FastBuildDefinitionDirectoryMapper.FastBuildDetails |
getBuildDetails(String buildName)
|
File |
getBuildDirectory()
|
String |
getBuildDirectory(String buildName)
Where's given buildName's files stored? |
Iterator |
getBuildIterator()
|
int |
getNumberOfMappedBuilds()
|
void |
removeBuild(String buildName)
Remove the given build from the map |
void |
removeBuildBuildResults(String buildName,
long buildNumber)
Removed the build file map for the given buildNumber from the given buildName |
void |
setBuildDirectory(File buildDirectory)
Lets you override the system build directory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastBuildDefinitionDirectoryMapper(File buildDirectory)
| Method Detail |
|---|
public String getBuildDirectory(String buildName)
buildName - The name of the build
public String addBuild(Build build)
build - The build to be added to the map
public String addBuild(String buildName,
String buildDirName)
buildName - The name of the buildbuildDirName - The build's directory
public void removeBuild(String buildName)
buildName - The name of the build to be removedpublic Iterator getBuildIterator()
public void setBuildDirectory(File buildDirectory)
buildDirectory - The latest build directoryćpublic File getBuildDirectory()
public void addBuildBuildResults(String buildName,
long buildNumber,
String buildFile)
public String getBuildBuildFile(String buildName,
long buildNumber)
public FastBuildDefinitionDirectoryMapper.FastBuildDetails getBuildDetails(String buildName)
public void removeBuildBuildResults(String buildName,
long buildNumber)
buildName - The name of the buildbuildNumber - The number of the build to be removedpublic int getNumberOfMappedBuilds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||