Class Cache
java.lang.Object
org.springframework.boot.buildpack.platform.build.Cache
- Direct Known Subclasses:
Cache.Volume
Details of a cache for use by the CNB builder.
- Since:
- 2.6.0
- Author:
- Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The format of the cache.static class
Details of a cache stored in a Docker volume. -
Field Summary
-
Method Summary
-
Field Details
-
format
-
-
Method Details
-
getVolume
Return the details of the cache if it is a volume cache.- Returns:
- the cache, or
null
if it is not a volume cache
-
volume
Create a newCache
that uses a volume with the provided name.- Parameters:
name
- the cache volume name- Returns:
- a new cache instance
-
equals
-
hashCode
public int hashCode()
-