We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Uses of Class
com.vaadin.flow.server.frontend.FrontendVersion
Packages that use FrontendVersion
-
Uses of FrontendVersion in com.vaadin.flow.server.frontend
Methods in com.vaadin.flow.server.frontend that return FrontendVersionModifier and TypeMethodDescriptionFrontendTools.getNodeVersion()
Gets the version of the node executable.
FrontendTools.getNpmVersion()
Executes
npm --version
to and parses the result.static FrontendVersion
FrontendUtils.getPackageVersionFromJson
(com.fasterxml.jackson.databind.JsonNode 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.
Methods in com.vaadin.flow.server.frontend with parameters of type FrontendVersionModifier and TypeMethodDescriptionint
FrontendVersion.compareTo
(FrontendVersion other) Compare version numbers and return order as -1, 0 and 1.
boolean
FrontendVersion.isEqualOrNewer
(FrontendVersion otherVersion) Check if this version is equal or newer than given version.
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 FrontendVersionModifier and TypeMethodDescriptionPlatform.getNodeClassifier
(FrontendVersion nodeVersion) Get the node classifier for current platform.