Package | Description |
---|---|
org.apache.maven.artifact | |
org.apache.maven.artifact.versioning |
Modifier and Type | Method and Description |
---|---|
VersionRange |
Artifact.getVersionRange() |
VersionRange |
DefaultArtifact.getVersionRange() |
VersionRange |
DefaultArtifact.getVersionRange() |
VersionRange |
Artifact.getVersionRange() |
Modifier and Type | Method and Description |
---|---|
void |
Artifact.setVersionRange(VersionRange newRange) |
void |
DefaultArtifact.setVersionRange(VersionRange versionRange) |
void |
DefaultArtifact.setVersionRange(VersionRange versionRange) |
void |
Artifact.setVersionRange(VersionRange newRange) |
Constructor and Description |
---|
DefaultArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String scope,
String type,
String classifier,
ArtifactHandler artifactHandler) |
DefaultArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String scope,
String type,
String classifier,
ArtifactHandler artifactHandler) |
DefaultArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String scope,
String type,
String classifier,
ArtifactHandler artifactHandler,
boolean optional) |
DefaultArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String scope,
String type,
String classifier,
ArtifactHandler artifactHandler,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
VersionRange |
VersionRange.cloneOf()
Deprecated.
VersionRange is immutable, cloning is not useful and even more an issue against the cache
|
VersionRange |
VersionRange.cloneOf()
Deprecated.
VersionRange is immutable, cloning is not useful and even more an issue against the cache
|
static VersionRange |
VersionRange.createFromVersion(String version) |
static VersionRange |
VersionRange.createFromVersion(String version) |
static VersionRange |
VersionRange.createFromVersionSpec(String spec)
Create a version range from a string representation
|
static VersionRange |
VersionRange.createFromVersionSpec(String spec)
Create a version range from a string representation
|
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
Modifier and Type | Method and Description |
---|---|
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.