public interface VersionConstraint
Modifier and Type | Method and Description |
---|---|
boolean |
containsVersion(Version version)
Determines whether the specified version satisfies this constraint.
|
VersionRange |
getRange()
Gets the version range of this constraint.
|
Version |
getVersion()
Gets the version recommended by this constraint.
|
VersionRange getRange()
null
if none.Version getVersion()
null
if none.boolean containsVersion(Version version)
version
- The version to test, must not be null
.true
if the specified version satisfies this constraint, false
otherwise.Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.