Uses of Class
com.vaadin.flow.server.frontend.FrontendVersion
-
Packages that use FrontendVersion Package Description com.vaadin.flow.server.frontend com.vaadin.flow.server.frontend.installer -
-
Uses of FrontendVersion in com.vaadin.flow.server.frontend
Methods in com.vaadin.flow.server.frontend that return FrontendVersion Modifier and Type Method Description FrontendVersion
FrontendTools. getNodeVersion()
Gets the version of the node executable.FrontendVersion
FrontendTools. getNpmVersion()
Executesnpm --version
to and parses the result.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, returnsnull
.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.Methods in com.vaadin.flow.server.frontend with parameters of type FrontendVersion Modifier and Type Method 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. -
Uses of FrontendVersion in com.vaadin.flow.server.frontend.installer
Methods in com.vaadin.flow.server.frontend.installer with parameters of type FrontendVersion Modifier and Type Method Description String
Platform. getNodeClassifier(FrontendVersion nodeVersion)
Get the node classifier for current platform.
-