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(Key planKey,
int buildNumber)
Load the given build's buildNumber'th build results
|
BuildResults |
loadBuildResults(String planKey,
Integer buildNumber)
Deprecated.
since 5.11, use
loadBuildResults(Key, int) instead |
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 persistPersisterException
- when failed to persist the build results@Nullable @Deprecated BuildResults loadBuildResults(String planKey, Integer buildNumber) throws PersisterException
loadBuildResults(Key, int)
insteadplanKey
- buildNumber
- The number of the build results we are interested inPersisterException
- when failed to load 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.