Modifier and Type | Method and Description |
---|---|
VersionRange |
DefaultArtifact.getVersionRange() |
VersionRange |
Artifact.getVersionRange() |
Modifier and Type | Method and Description |
---|---|
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,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
Artifact |
DefaultArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope) |
Artifact |
ArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope)
Deprecated.
|
Artifact |
DefaultArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
boolean optional) |
Artifact |
ArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
boolean optional)
Deprecated.
|
Artifact |
DefaultArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope) |
Artifact |
ArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope)
Deprecated.
|
Artifact |
DefaultArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope,
boolean optional) |
Artifact |
ArtifactFactory.createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope,
boolean optional)
Deprecated.
|
Artifact |
DefaultArtifactFactory.createExtensionArtifact(String groupId,
String artifactId,
VersionRange versionRange) |
Artifact |
ArtifactFactory.createExtensionArtifact(String groupId,
String artifactId,
VersionRange versionRange)
Deprecated.
|
Artifact |
DefaultArtifactFactory.createPluginArtifact(String groupId,
String artifactId,
VersionRange versionRange) |
Artifact |
ArtifactFactory.createPluginArtifact(String groupId,
String artifactId,
VersionRange versionRange)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
WarningResolutionListener.restrictRange(Artifact artifact,
Artifact replacement,
VersionRange newRange) |
void |
DebugResolutionListener.restrictRange(Artifact artifact,
Artifact replacement,
VersionRange newRange) |
void |
ResolutionListener.restrictRange(Artifact artifact,
Artifact replacement,
VersionRange newRange) |
Modifier and Type | Method and Description |
---|---|
VersionRange |
VersionRange.cloneOf() |
static VersionRange |
VersionRange.createFromVersion(String version) |
static VersionRange |
VersionRange.createFromVersionSpec(String spec)
Create a version range from a string representation
Some spec examples are
1.0 Version 1.0
[1.0,2.0) Versions 1.0 (included) to 2.0 (not included)
[1.0,2.0] Versions 1.0 to 2.0 (both included)
[1.5,) Versions 1.5 and higher
(,1.0],[1.2,) Versions up to 1.0 (included) and 1.2 or higher
|
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. |
Modifier and Type | Method and Description |
---|---|
VersionRange |
AttachedArtifact.getVersionRange()
Deprecated.
|
VersionRange |
ActiveProjectArtifact.getVersionRange()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AttachedArtifact.setVersionRange(VersionRange range)
Deprecated.
|
void |
ActiveProjectArtifact.setVersionRange(VersionRange newRange)
Deprecated.
|
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.