Class VersionUtils
java.lang.Object
io.micronaut.core.version.VersionUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Stringstatic booleanisAtLeastMicronautVersion(String requiredVersion) Return whether the current version of Micronaut is at least the given version using semantic rules.
-
Field Details
-
MICRONAUT_VERSION
The current version of Micronaut.
-
-
Constructor Details
-
VersionUtils
public VersionUtils()
-
-
Method Details
-
isAtLeastMicronautVersion
Return whether the current version of Micronaut is at least the given version using semantic rules.- Parameters:
requiredVersion- The required version- Returns:
- True if it is
-
getMicronautVersion
-