public interface BuildPersisterDecorator extends Startable
Implemented as decorators to chain caching and compression behaviour
Modifier and Type | Method and Description |
---|---|
void |
deleteBuildResults(ImmutableBuildable buildable,
long buildNumber)
Remove a specific build result
|
BuildResults |
loadBuildResults(String planKey,
Integer buildNumber)
Load the given build's buildNumber'th build results
|
void |
saveBuildResults(ImmutableBuildable buildable,
BuildResults buildResults)
Save the given build's given buildResults
|
void deleteBuildResults(ImmutableBuildable buildable, long buildNumber) throws PersisterException
buildable
- buildNumber
- The build numberPersisterException
void saveBuildResults(ImmutableBuildable buildable, BuildResults buildResults) throws PersisterException
buildable
- buildResults
- The build results to persist @throws PersisterException Failed to persist the build resultsPersisterException
@Nullable BuildResults loadBuildResults(String planKey, Integer buildNumber) throws PersisterException
planKey
- buildNumber
- The number of the build results we are interested inPersisterException
- Failed to load the build resultsCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.