public final class SpringBootVersion extends Object
Implementation-Versionmanifest attribute from the jar file via
Package.getImplementationVersion(), falling back to locating the jar file that contains this class and reading the
Implementation-Versionattribute from its manifest.
This class might not be able to determine the Spring Boot version in all environments. Consider using a reflection-based check instead: For example, checking for the presence of a specific Spring Boot method that you intend to call.
|Modifier and Type||Method and Description|
Return the full version string of the present Spring Boot codebase, or
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.