com.vaadin.flow.server.

Class Version

java.lang.Object
com.vaadin.flow.server.Version

All Implemented Interfaces:

Serializable

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 Details

    • Version

      public Version()
  • Method Details

    • 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

    • getBuildHash

      public static String getBuildHash()

      Gets the version's build hash. This hash is based on build's timestamp and varies from build to build.

      Returns:

      version's build hash