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 classDetails of a cache stored in a bind mount.static classDetails of a cache stored in a Docker volume.Methods in org.springframework.boot.buildpack.platform.build that return CacheModifier and TypeMethodDescriptionstatic CacheCreate a newCachethat 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 CacheCreate a newCachethat uses a volume with the provided name.static CacheCache.volume(VolumeName name) Create a newCachethat uses a volume with the provided name.Methods in org.springframework.boot.buildpack.platform.build with parameters of type CacheModifier and TypeMethodDescriptionvoidAbstractBuildLog.executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) voidBuildLog.executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) Log that the lifecycle is executing.voidAbstractBuildLog.failedCleaningWorkDir(Cache cache, Exception exception) voidBuildLog.failedCleaningWorkDir(Cache cache, Exception exception) Log that a cache cleanup step was not completed successfully.BuildRequest.withBuildCache(Cache buildCache) Return a newBuildRequestwith an updated build cache.BuildRequest.withBuildWorkspace(Cache buildWorkspace) Return a newBuildRequestwith an updated build workspace.BuildRequest.withLaunchCache(Cache launchCache) Return a newBuildRequestwith an updated launch cache.