public interface CachingAwareRepository extends Repository
| Modifier and Type | Interface and Description |
|---|---|
static class |
CachingAwareRepository.CachableOperation |
SELECTED_REPOSITORY, UNKNOWN_HOST| Modifier and Type | Method and Description |
|---|---|
CacheId |
getCacheId(CachingAwareRepository.CachableOperation cachableOperation)
Cache id has to fulfill the following:
Given two Repository objects A and B, returning equal CacheId (in terms of equals()) and a cachable operation foo(),
in the following sequence of calls made in a short time period:
1.
|
boolean |
isCachingSupportedFor(CachingAwareRepository.CachableOperation cachableOperation) |
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeypopulateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescription@Nullable CacheId getCacheId(@NotNull CachingAwareRepository.CachableOperation cachableOperation)
boolean isCachingSupportedFor(@NotNull
CachingAwareRepository.CachableOperation cachableOperation)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.