FingerprintOptions
Options related to calculating source hash.
Initializer
import com.aliyun.ros.cdk.core.FingerprintOptions;
FingerprintOptions.builder()
// .exclude(java.util.List<java.lang.String>)
// .follow(SymlinkFollowMode)
// .ignoreMode(IgnoreMode)
// .extraHash(java.lang.String)
.build();
Properties
Name | Type | Description |
---|---|---|
exclude |
java.util.List |
File paths matching the patterns will be excluded. |
follow |
SymlinkFollowMode |
A strategy for how to handle symlinks. |
ignoreMode |
IgnoreMode |
The ignore behavior to use for exclude patterns. |
extraHash |
java.lang.String |
Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
exclude
Optional
public java.util.List<java.lang.String> getExclude();
- Type: java.util.List
- Default: nothing is excluded
File paths matching the patterns will be excluded.
See ignoreMode
to set the matching behavior.
Has no effect on Assets bundled using the bundling
property.
follow
Optional
public SymlinkFollowMode getFollow();
- Type: SymlinkFollowMode
- Default: SymlinkFollowMode.NEVER
A strategy for how to handle symlinks.
ignoreMode
Optional
public IgnoreMode getIgnoreMode();
- Type: IgnoreMode
- Default: IgnoreMode.GLOB
The ignore behavior to use for exclude
patterns.
extraHash
Optional
public java.lang.String getExtraHash();
- Type: java.lang.String
- Default: hash is only based on source content
Extra information to encode into the fingerprint (e.g. build instructions and other inputs).