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, getShortKey
populateFromConfig, toConfiguration
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
getDescription
@Nullable CacheId getCacheId(@NotNull CachingAwareRepository.CachableOperation cachableOperation)
boolean isCachingSupportedFor(@NotNull CachingAwareRepository.CachableOperation cachableOperation)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.