public interface VersionSpecification extends Comparator<Version>
| Modifier and Type | Interface and Description |
|---|---|
static class |
VersionSpecification.Range
A range of version is accepted.
|
static class |
VersionSpecification.RangeWithRecommended
A specific version is wished, but a range is accepted.
|
static class |
VersionSpecification.SingleVersion
Only one specific version is accepted.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatching(Version version)
Return true if the given version is compatible with the specified version.
|
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongboolean isMatching(Version version)
Copyright © 2019. All rights reserved.