Interface VersionGroup
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VersionGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-01T23:43:16.027Z") @Stability(Stable) public interface VersionGroup extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVersionGroup.BuilderA builder forVersionGroupstatic classVersionGroup.Jsii$ProxyAn implementation forVersionGroup
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static VersionGroup.Builderbuilder()List<String>getDependencies()the names of the dependencies (eg.default List<String>getDependencyTypes()optionally only apply this group to dependencies of the provided types.default BooleangetIsBanned()optionally force all dependencies in this group to be removed.List<String>getPackages()the names of packages in your monorepo which belong to this group, taken from the "name" field in package.json, not the package directory name.default StringgetPinVersion()optionally force all dependencies in this group to have this version.
-
-
-
Method Detail
-
getDependencies
@Stability(Stable) @NotNull List<String> getDependencies()
the names of the dependencies (eg."lodash") which belong to this group
-
getPackages
@Stability(Stable) @NotNull List<String> getPackages()
the names of packages in your monorepo which belong to this group, taken from the "name" field in package.json, not the package directory name.
-
getDependencyTypes
@Stability(Stable) @Nullable default List<String> getDependencyTypes()
optionally only apply this group to dependencies of the provided types.
-
getIsBanned
@Stability(Stable) @Nullable default Boolean getIsBanned()
optionally force all dependencies in this group to be removed.
-
getPinVersion
@Stability(Stable) @Nullable default String getPinVersion()
optionally force all dependencies in this group to have this version.
-
builder
@Stability(Stable) static VersionGroup.Builder builder()
- Returns:
- a
VersionGroup.BuilderofVersionGroup
-
-