Uses of Enum
org.springframework.boot.system.JavaVersion
-
Uses of JavaVersion in org.springframework.boot.system
Modifier and TypeMethodDescriptionstatic JavaVersion
JavaVersion.getJavaVersion()
Returns theJavaVersion
of the current runtime.static JavaVersion
Returns the enum constant of this type with the specified name.static JavaVersion[]
JavaVersion.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
JavaVersion.isEqualOrNewerThan
(JavaVersion version) Return if this version is equal to or newer than a given version.boolean
JavaVersion.isOlderThan
(JavaVersion version) Return if this version is older than a given version.