| Package | Description |
|---|---|
| io.dataspray.aws.cdk.maven.node |
| Modifier and Type | Method and Description |
|---|---|
static NodeVersion |
NodeVersion.of(int major,
int minor,
int revision)
Creates
NodeVersion from the given versions. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<NodeVersion> |
NodeVersion.parse(String version)
Returns an
Optional with a NodeVersion representing the version of Node.js parsed from the given
value or an empty Optional in case the given value cannot be parsed. |
| Modifier and Type | Method and Description |
|---|---|
int |
NodeVersion.compareTo(@NotNull NodeVersion nodeVersion) |
protected void |
WindowsNodeInstaller.download(NodeVersion version,
String os,
String arch,
Path destination) |
protected abstract void |
AbstractNodeInstaller.download(NodeVersion version,
String os,
String arch,
Path destination)
Downloads the required Node.js version (taking into account the operating system and its architecture) to the
specified directory.
|
protected void |
UnixNodeInstaller.download(NodeVersion version,
String os,
String arch,
Path destination) |
NodeClient |
AbstractNodeInstaller.install(NodeVersion version) |
NodeClient |
NodeInstaller.install(NodeVersion version)
Installs, if needed, the given version of Node.js for the current platform to the local maven repository.
|
Copyright © 2022. All rights reserved.