Uses of Class
org.springframework.boot.buildpack.platform.build.Cache
Packages that use Cache
Package
Description
Central API for performing a buildpack build.
-
Uses of Cache in org.springframework.boot.buildpack.platform.build
Subclasses of Cache in org.springframework.boot.buildpack.platform.buildModifier and TypeClassDescriptionstatic class
Details of a cache stored in a bind mount.static class
Details of a cache stored in a Docker volume.Methods in org.springframework.boot.buildpack.platform.build that return CacheModifier and TypeMethodDescriptionstatic Cache
Create a newCache
that uses a bind mount with the provided source.BuildRequest.getBuildCache()
Return the custom build cache that should be used by the lifecycle.BuildRequest.getBuildWorkspace()
Return the build workspace that should be used by the lifecycle.BuildRequest.getLaunchCache()
Return the custom launch cache that should be used by the lifecycle.static Cache
Create a newCache
that uses a volume with the provided name.static Cache
Cache.volume
(VolumeName name) Create a newCache
that uses a volume with the provided name.Methods in org.springframework.boot.buildpack.platform.build with parameters of type CacheModifier and TypeMethodDescriptionvoid
AbstractBuildLog.executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) void
BuildLog.executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) Log that the lifecycle is executing.void
AbstractBuildLog.failedCleaningWorkDir
(Cache cache, Exception exception) void
BuildLog.failedCleaningWorkDir
(Cache cache, Exception exception) Log that a cache cleanup step was not completed successfully.BuildRequest.withBuildCache
(Cache buildCache) Return a newBuildRequest
with an updated build cache.BuildRequest.withBuildWorkspace
(Cache buildWorkspace) Return a newBuildRequest
with an updated build workspace.BuildRequest.withLaunchCache
(Cache launchCache) Return a newBuildRequest
with an updated launch cache.