Package org.openrewrite.semver
Class ExactVersion
java.lang.Object
org.openrewrite.semver.LatestRelease
org.openrewrite.semver.ExactVersion
- All Implemented Interfaces:
Comparator<String>,VersionComparator
Version selector for matching exact version: either explicitly prefixed with "=",
or implicit default when no other version selectors match.
-
Field Summary
Fields inherited from interface org.openrewrite.semver.VersionComparator
PRE_RELEASE_ENDING, RELEASE_PATTERN, RELEASE_SUFFIXES -
Constructor Summary
Constructors -
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
-
Constructor Details
-
ExactVersion
-
-
Method Details
-
isValid
- Specified by:
isValidin interfaceVersionComparator- Overrides:
isValidin classLatestRelease
-
build
-