@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:22.590Z") @Stability(value=Experimental) public class GitIgnoreStrategy 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.*;
GitIgnoreStrategy gitIgnoreStrategy = new GitIgnoreStrategy("absoluteRootPath", List.of("patterns"));
| Modifier | Constructor and Description |
|---|---|
protected |
GitIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef) |
|
GitIgnoreStrategy(String absoluteRootPath,
List<String> patterns) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String pattern)
(experimental) Adds another pattern.
|
Boolean |
ignores(String absoluteFilePath)
(experimental) Determines whether a given file path should be ignored or not.
|
docker, fromCopyOptions, git, globjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GitIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef)
protected GitIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public void add(@NotNull
String pattern)
add in class IgnoreStrategypattern - This parameter is required.@Stability(value=Experimental) @NotNull public Boolean ignores(@NotNull String absoluteFilePath)
ignores in class IgnoreStrategyabsoluteFilePath - absolute file path to be assessed against the pattern. This parameter is required.Copyright © 2022. All rights reserved.