Package com.vaadin.base.devserver
Class ServerInfo
java.lang.Object
com.vaadin.base.devserver.ServerInfo
- All Implemented Interfaces:
Serializable
Data for a info message to the debug window.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumKnown container runtime types that can be detected.static final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerInfo.ContainerInfoDetects if the application is running inside a container and returns the container runtime type.static Stringstatic Stringstatic Stringstatic String
-
Constructor Details
-
ServerInfo
public ServerInfo()Creates a new instance.
-
-
Method Details
-
fetchJavaVersion
-
fetchOperatingSystem
-
fetchVaadinVersion
-
fetchHillaVersion
-
fetchContainerInfo
Detects if the application is running inside a container and returns the container runtime type.- Returns:
- the detected container runtime, or
ServerInfo.ContainerInfo.NONEif no container is detected
-
getVersions
-