Package io.github.cdklabs.projen
Interface DependencyCoordinates
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
Dependency
- All Known Implementing Classes:
Dependency.Jsii$Proxy,DependencyCoordinates.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.736Z") @Stability(Experimental) public interface DependencyCoordinates extends software.amazon.jsii.JsiiSerializable
(experimental) Coordinates of the dependency (name and version).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDependencyCoordinates.BuilderA builder forDependencyCoordinatesstatic classDependencyCoordinates.Jsii$ProxyAn implementation forDependencyCoordinates
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DependencyCoordinates.Builderbuilder()StringgetName()(experimental) The package manager name of the dependency (e.g.default StringgetVersion()(experimental) Semantic version version requirement.
-
-
-
Method Detail
-
getName
@Stability(Experimental) @NotNull String getName()
(experimental) The package manager name of the dependency (e.g.leftpadfor npm).NOTE: For package managers that use complex coordinates (like Maven), we will codify it into a string somehow.
-
getVersion
@Stability(Experimental) @Nullable default String getVersion()
(experimental) Semantic version version requirement.Default: - requirement is managed by the package manager (e.g. npm/yarn).
-
builder
@Stability(Experimental) static DependencyCoordinates.Builder builder()
- Returns:
- a
DependencyCoordinates.BuilderofDependencyCoordinates
-
-