Package io.github.cdklabs.projen.github
Interface DependabotIgnore
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DependabotIgnore.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.067Z") @Stability(Experimental) public interface DependabotIgnore extends software.amazon.jsii.JsiiSerializable
(experimental) You can use theignoreoption to customize which dependencies are updated.The ignore option supports the following options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDependabotIgnore.BuilderA builder forDependabotIgnorestatic classDependabotIgnore.Jsii$ProxyAn implementation forDependabotIgnore
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DependabotIgnore.Builderbuilder()StringgetDependencyName()(experimental) Use to ignore updates for dependencies with matching names, optionally using*to match zero or more characters.default List<String>getVersions()(experimental) Use to ignore specific versions or ranges of versions.
-
-
-
Method Detail
-
getDependencyName
@Stability(Experimental) @NotNull String getDependencyName()
(experimental) Use to ignore updates for dependencies with matching names, optionally using*to match zero or more characters.For Java dependencies, the format of the dependency-name attribute is:
groupId:artifactId, for example:org.kohsuke:github-api.
-
getVersions
@Stability(Experimental) @Nullable default List<String> getVersions()
(experimental) Use to ignore specific versions or ranges of versions.If you want to define a range, use the standard pattern for the package manager (for example:
^1.0.0for npm, or~> 2.0for Bundler).
-
builder
@Stability(Experimental) static DependabotIgnore.Builder builder()
- Returns:
- a
DependabotIgnore.BuilderofDependabotIgnore
-
-