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