|
||||||||||
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 |
deleteBuildResults(Build build,
long buildNumber)
Remove a specific build result |
BuildResults |
loadBuildResults(java.lang.String planKey,
java.lang.Integer buildNumber)
Load the given build's buildNumber'th build results |
void |
saveBuildResults(Build build,
BuildResults buildResults)
Save the given build's given buildResults |
Methods inherited from interface com.atlassian.bamboo.container.Startable |
---|
isActive, start, stop |
Method Detail |
---|
void deleteBuildResults(Build build, long buildNumber) throws PersisterException
build
- The build the result belongs tobuildNumber
- The build number
PersisterException
void saveBuildResults(Build build, BuildResults buildResults) throws PersisterException
build
- The buildResults' buildbuildResults
- The build results to persist
PersisterException
- Failed to persist the build resultsBuildResults loadBuildResults(java.lang.String planKey, java.lang.Integer buildNumber) throws PersisterException
planKey
- buildNumber
- The number of the build results we are interested in
PersisterException
- Failed to load the build results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |