Class Platform

java.lang.Object
com.vaadin.flow.server.Platform
All Implemented Interfaces:
Serializable

public class Platform extends Object implements Serializable
Provides information about the current version of Vaadin Platform.
Since:
23.0
See Also:
  • Constructor Details

    • Platform

      public Platform()
  • Method Details

    • getVaadinVersion

      public static Optional<String> getVaadinVersion()
      Returns the platform version string, e.g., "23.0.0".
      Returns:
      the platform version or Optional.empty() if unavailable.
    • getHillaVersion

      public static Optional<String> getHillaVersion()
      Returns Hilla version.
      Returns:
      Hilla version if Hilla is on the classpath; empty Optional if Hilla is not on the classpath.