Package org.openrewrite.semver
Class XRange
java.lang.Object
org.openrewrite.semver.LatestRelease
org.openrewrite.semver.XRange
- All Implemented Interfaces:
Comparator<String>,VersionComparator
Any of X, x, or * may be used to "stand in" for one of the numeric values in the [major, minor, patch] tuple.
X-Ranges.
-
Field Summary
Fields inherited from interface org.openrewrite.semver.VersionComparator
PRE_RELEASE_ENDING, RELEASE_PATTERN, RELEASE_SUFFIXES -
Method Summary
Methods inherited from class org.openrewrite.semver.LatestRelease
buildLatestRelease, compareMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.openrewrite.semver.VersionComparator
compare, upgrade
-
Method Details
-
isValid
- Specified by:
isValidin interfaceVersionComparator- Overrides:
isValidin classLatestRelease
-
build
-