Package io.github.cdklabs.projen
Interface Dependency
-
- All Superinterfaces:
DependencyCoordinates,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Dependency.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.730Z") @Stability(Experimental) public interface Dependency extends software.amazon.jsii.JsiiSerializable, DependencyCoordinates
(experimental) Represents a project dependency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDependency.BuilderA builder forDependencystatic classDependency.Jsii$ProxyAn implementation forDependency
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Dependency.Builderbuilder()default Map<String,Object>getMetadata()(experimental) Additional JSON metadata associated with the dependency (package manager specific).DependencyTypegetType()(experimental) Which type of dependency this is (runtime, build-time, etc).-
Methods inherited from interface io.github.cdklabs.projen.DependencyCoordinates
getName, getVersion
-
-
-
-
Method Detail
-
getType
@Stability(Experimental) @NotNull DependencyType getType()
(experimental) Which type of dependency this is (runtime, build-time, etc).
-
getMetadata
@Stability(Experimental) @Nullable default Map<String,Object> getMetadata()
(experimental) Additional JSON metadata associated with the dependency (package manager specific).Default: {}
-
builder
@Stability(Experimental) static Dependency.Builder builder()
- Returns:
- a
Dependency.BuilderofDependency
-
-