|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuildPersisterDecorator
This interface provides an abstract for persisting Bamboo builds objects.
Implemented as decorators to chain caching and compression behaviour
| Method Summary | |
|---|---|
void |
deleteBuild(Build build)
Remove the persisted date for the given build. |
void |
deleteBuildResults(Build build,
long buildNumber)
Remove a specific build result |
Iterator |
getBuildNames()
Obtain an iterator of persisted build names |
BuildResults |
loadBuildResults(Build build,
long buildNumber)
Load the given build's buildNumber'th build results |
Collection |
loadBuilds()
Get all the persisted builds |
Build |
loadBuilds(String buildName)
Load the persisted build with the given build name |
void |
saveBuild(Build build)
Persist the given Build |
void |
saveBuildResults(Build build,
BuildResults buildResults)
Save the given build's given buildResults |
| Methods inherited from interface com.atlassian.bamboo.container.Startable |
|---|
start, stop |
| Method Detail |
|---|
void saveBuild(Build build)
throws PersisterException
build - The build to persist
PersisterException - Failed to persist
void deleteBuild(Build build)
throws PersisterException
build - The build to delete
PersisterException - Failed to persist
void deleteBuildResults(Build build,
long buildNumber)
throws PersisterException
build - The build the result belongs tobuildNumber - The build number
PersisterException
Build loadBuilds(String buildName)
throws PersisterException
buildName - The name of the build to load
PersisterException - Failed to load
Collection loadBuilds()
throws PersisterException
PersisterException - Failed to load
void saveBuildResults(Build build,
BuildResults buildResults)
throws PersisterException
build - The buildResults' buildbuildResults - The build results to persist
PersisterException - Failed to persist the build results
BuildResults loadBuildResults(Build build,
long buildNumber)
throws PersisterException
build - The build whos build results we want to loadbuildNumber - The number of the build results we are interested in
PersisterException - Failed to load the build resultsIterator getBuildNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||