com.vaadin.flow.server.
Class Version
- java.lang.Object
-
- com.vaadin.flow.server.Version
-
All Implemented Interfaces:
public class Version extends Object implements Serializable
Provides information about the current version of Vaadin Flow.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Modifier and Type Method Description static String
getBuildIdentifier()
Gets the version qualifier, qualifier in x.y.z.qualifier.
static String
getFullVersion()
Gets the full version, in format x.y.z or x.y.z.qualifier.
static int
getMajorVersion()
Gets the major version, x in x.y.z.qualifier.
static int
getMinorVersion()
Gets the minor version, y in x.y.z.qualifier.
static int
getRevision()
Gets the revision, z in x.y.z.qualifier.
-
-
-
Method Detail
-
getFullVersion
public static String getFullVersion()
Gets the full version, in format x.y.z or x.y.z.qualifier.
Returns:
the full version number
-
getMajorVersion
public static int getMajorVersion()
Gets the major version, x in x.y.z.qualifier.
Returns:
the major version number
-
getMinorVersion
public static int getMinorVersion()
Gets the minor version, y in x.y.z.qualifier.
Returns:
the minor version number
-
getRevision
public static int getRevision()
Gets the revision, z in x.y.z.qualifier.
Returns:
the revision number
-
getBuildIdentifier
public static String getBuildIdentifier()
Gets the version qualifier, qualifier in x.y.z.qualifier.
Returns:
the version qualifier
-
-