@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-03-01T02:28:55.785Z") @Stability(value=Stable) public class DockerIgnoreStrategy extends IgnoreStrategy
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; DockerIgnoreStrategy dockerIgnoreStrategy = new DockerIgnoreStrategy("absoluteRootPath", List.of("patterns"));
Modifier | Constructor and Description |
---|---|
protected |
DockerIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DockerIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef) |
|
DockerIgnoreStrategy(String absoluteRootPath,
List<String> patterns) |
Modifier and Type | Method and Description |
---|---|
void |
add(String pattern)
Adds another pattern.
|
Boolean |
ignores(String absoluteFilePath)
Determines whether a given file path should be ignored or not.
|
docker, fromCopyOptions, git, glob
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected DockerIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef)
protected DockerIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public void add(@NotNull String pattern)
add
in class IgnoreStrategy
pattern
- This parameter is required.@Stability(value=Stable) @NotNull public Boolean ignores(@NotNull String absoluteFilePath)
ignores
in class IgnoreStrategy
absoluteFilePath
- absolute file path to be assessed against the pattern. This parameter is required.Copyright © 2022. All rights reserved.