Package | Description |
---|---|
com.vaadin.flow.server.frontend | |
com.vaadin.flow.server.frontend.installer |
Modifier and Type | Method and Description |
---|---|
FrontendVersion |
FrontendTools.getNodeVersion()
Gets the version of the node executable.
|
static FrontendVersion |
FrontendUtils.getPackageVersionFromJson(elemental.json.JsonObject sourceJson,
String pkg,
String versionOrigin)
Tries to parse the given package's frontend version or if it doesn't
exist, returns
null . |
protected static FrontendVersion |
FrontendUtils.getVersion(String tool,
List<String> versionCommand) |
static FrontendVersion |
FrontendUtils.parseFrontendVersion(String versionString)
Parse the version number of node/npm from version output string.
|
Modifier and Type | Method and Description |
---|---|
int |
FrontendVersion.compareTo(FrontendVersion other)
Compare version numbers and return order as -1, 0 and 1.
|
boolean |
FrontendVersion.isEqualTo(FrontendVersion otherVersion)
Check if this and the given version are equal to each other.
|
boolean |
FrontendVersion.isNewerThan(FrontendVersion otherVersion)
Check if this version is newer than given version.
|
boolean |
FrontendVersion.isOlderThan(FrontendVersion otherVersion)
Check if this version is older than given version.
|
Modifier and Type | Method and Description |
---|---|
String |
Platform.getNodeClassifier(FrontendVersion nodeVersion)
Get the node classifier for current platform.
|
Copyright © 2025. All rights reserved.