Package | Description |
---|---|
org.springframework.boot.system |
General system support classes.
|
Modifier and Type | Method and Description |
---|---|
static JavaVersion |
JavaVersion.getJavaVersion()
Returns the
JavaVersion of the current runtime. |
static JavaVersion |
JavaVersion.valueOf(String name)
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 Type | Method and Description |
---|---|
boolean |
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.
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.