Uses of Enum Class
org.springframework.boot.system.JavaVersion
Packages that use JavaVersion
-
Uses of JavaVersion in org.springframework.boot.system
Methods in org.springframework.boot.system that return JavaVersionModifier and TypeMethodDescriptionstatic JavaVersion
JavaVersion.getJavaVersion()
Returns theJavaVersion
of the current runtime.static JavaVersion
Returns the enum constant of this class with the specified name.static JavaVersion[]
JavaVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.boot.system with parameters of type JavaVersionModifier 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.