Package org.apache.camel.tooling.util
Class CamelVersionHelper
java.lang.Object
org.apache.camel.tooling.util.CamelVersionHelper
A simple util to test Camel versions.
This implementation only checks the numeric values and disregard SNAPSHOT or any other qualifiers.
-
Method Summary
-
Method Details
-
isGE
Checks whether other >= base- Parameters:
base- the base versionother- the other version- Returns:
- true if GE, false otherwise
-
isGE
-
prevMinor
Returns the previous minor version number- Parameters:
base- the version- Returns:
- the previous minor version, eg 3.3.0 as input, returns 3.2.0 as output
-