All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
abstract Optional<Long> |
artifactSizeBytes() |
abstract Optional<String> |
cacheError() |
abstract Optional<ArtifactCacheMode> |
cacheMode() |
protected abstract Optional<String> |
cacheSource() |
protected void |
check() |
static CacheResult |
contains(String cacheSource,
ArtifactCacheMode cacheMode) |
static CacheResult |
error(String cacheSource,
ArtifactCacheMode cacheMode,
String cacheError) |
long |
getArtifactSizeBytes() |
String |
getCacheError() |
String |
getCacheSource() |
com.google.common.collect.ImmutableMap<String,String> |
getMetadata() |
abstract CacheResultType |
getType() |
static CacheResult |
hit(String cacheSource,
ArtifactCacheMode cacheMode) |
static CacheResult |
hit(String cacheSource,
ArtifactCacheMode cacheMode,
com.google.common.collect.ImmutableMap<String,String> metadata,
long artifactSize) |
static CacheResult |
ignored() |
static CacheResult |
localKeyUnchangedHit() |
abstract Optional<com.google.common.collect.ImmutableMap<String,String>> |
metadata() |
static CacheResult |
miss() |
static CacheResult |
miss(String cacheSource,
ArtifactCacheMode cacheMode) |
String |
name() |
static CacheResult |
of(CacheResultType type,
String cacheSource) |
static CacheResult |
skipped() |
static CacheResult |
softError(String cacheSource,
ArtifactCacheMode cacheMode,
String cacheError) |
String |
toString() |
abstract Optional<String> |
twoLevelContentHashKey() |
static CacheResult |
valueOf(String val) |
CacheResult |
withArtifactSizeBytes(Optional<Long> artifactSizeBytes) |
CacheResult |
withCacheError(Optional<String> cacheError) |
CacheResult |
withMetadata(Optional<com.google.common.collect.ImmutableMap<String,String>> metadata) |
CacheResult |
withTwoLevelContentHashKey(Optional<String> twoLevelContentHashKey) |