Example usage for Java org.apache.maven.artifact.versioning VersionRange fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsVersion(ArtifactVersion version) |
VersionRange | createFromVersion(String version) |
VersionRange | createFromVersionSpec(String spec) Create a version range from a string representation Some spec examples are:
|
ArtifactVersion | getRecommendedVersion() |
List | getRestrictions() |
ArtifactVersion | getSelectedVersion(Artifact artifact) |
boolean | hasRestrictions() |
boolean | isSelectedVersionKnown(Artifact artifact) |
ArtifactVersion | matchVersion(List |
VersionRange | restrict(VersionRange restriction) Creates and returns a new VersionRange that is a restriction of this version range and the specified version range. |
String | toString() |