Package io.github.cdklabs.projen.gitlab
Interface CacheKeyFiles
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CacheKeyFiles.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.116Z") @Stability(Experimental) public interface CacheKeyFiles extends software.amazon.jsii.JsiiSerializable
(experimental) Use this construct to generate a new key when one or two specific files change.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCacheKeyFiles.BuilderA builder forCacheKeyFilesstatic classCacheKeyFiles.Jsii$ProxyAn implementation forCacheKeyFiles
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CacheKeyFiles.Builderbuilder()List<String>getFiles()(experimental) The files that are checked against.default StringgetPrefix()(experimental) Adds a custom prefix to the checksums computed.
-
-
-
Method Detail
-
getFiles
@Stability(Experimental) @NotNull List<String> getFiles()
(experimental) The files that are checked against.If the SHA checksum changes, the cache becomes invalid.
-
getPrefix
@Stability(Experimental) @Nullable default String getPrefix()
(experimental) Adds a custom prefix to the checksums computed.
-
builder
@Stability(Experimental) static CacheKeyFiles.Builder builder()
- Returns:
- a
CacheKeyFiles.BuilderofCacheKeyFiles
-
-