Package com.vaadin.flow.server
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<String>getVaadinVersion()Returns the platform version string, e.g.,"23.0.0".
-
-
-
Method Detail
-
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.
-
-