|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.artifact.DefaultArtifact org.apache.maven.project.artifact.AttachedArtifact
@Deprecated public class AttachedArtifact
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API. In particular, this class can be changed or deleted without prior notice. Use
MavenProjectHelper.attachArtifact(org.apache.maven.project.MavenProject, java.io.File, java.lang.String)
instead.
Field Summary |
---|
Fields inherited from interface org.apache.maven.artifact.Artifact |
---|
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_COMPILE_PLUS_RUNTIME, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_RUNTIME_PLUS_SYSTEM, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN |
Constructor Summary | |
---|---|
AttachedArtifact(Artifact parent,
String type,
ArtifactHandler artifactHandler)
Deprecated. |
|
AttachedArtifact(Artifact parent,
String type,
String classifier,
ArtifactHandler artifactHandler)
Deprecated. |
Method Summary | |
---|---|
void |
addMetadata(ArtifactMetadata metadata)
Deprecated. |
List<ArtifactVersion> |
getAvailableVersions()
Deprecated. |
String |
getBaseVersion()
Deprecated. |
String |
getDownloadUrl()
Deprecated. |
Collection<ArtifactMetadata> |
getMetadataList()
Deprecated. |
ArtifactRepository |
getRepository()
Deprecated. |
String |
getScope()
Deprecated. |
String |
getVersion()
Deprecated. |
VersionRange |
getVersionRange()
Deprecated. |
boolean |
isRelease()
Deprecated. |
boolean |
isSnapshot()
Deprecated. |
void |
setArtifactId(String artifactId)
Deprecated. |
void |
setAvailableVersions(List<ArtifactVersion> availableVersions)
Deprecated. |
void |
setBaseVersion(String baseVersion)
Deprecated. |
void |
setDownloadUrl(String downloadUrl)
Deprecated. |
void |
setGroupId(String groupId)
Deprecated. |
void |
setRelease(boolean release)
Deprecated. |
void |
setRepository(ArtifactRepository repository)
Deprecated. |
void |
setScope(String scope)
Deprecated. |
void |
setVersion(String version)
Deprecated. |
void |
setVersionRange(VersionRange range)
Deprecated. |
Methods inherited from class org.apache.maven.artifact.DefaultArtifact |
---|
compareTo, equals, getArtifactHandler, getArtifactId, getBaseVersionInternal, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getFile, getGroupId, getId, getSelectedVersion, getType, hasClassifier, hashCode, isOptional, isResolved, isSelectedVersionKnown, selectVersion, setArtifactHandler, setBaseVersionInternal, setDependencyFilter, setDependencyTrail, setFile, setOptional, setResolved, setResolvedVersion, toString, updateVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachedArtifact(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler)
public AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler)
Method Detail |
---|
public void setArtifactId(String artifactId)
setArtifactId
in interface Artifact
setArtifactId
in class DefaultArtifact
public List<ArtifactVersion> getAvailableVersions()
getAvailableVersions
in interface Artifact
getAvailableVersions
in class DefaultArtifact
public void setAvailableVersions(List<ArtifactVersion> availableVersions)
setAvailableVersions
in interface Artifact
setAvailableVersions
in class DefaultArtifact
public String getBaseVersion()
getBaseVersion
in interface Artifact
getBaseVersion
in class DefaultArtifact
public void setBaseVersion(String baseVersion)
setBaseVersion
in interface Artifact
setBaseVersion
in class DefaultArtifact
public String getDownloadUrl()
getDownloadUrl
in interface Artifact
getDownloadUrl
in class DefaultArtifact
public void setDownloadUrl(String downloadUrl)
setDownloadUrl
in interface Artifact
setDownloadUrl
in class DefaultArtifact
public void setGroupId(String groupId)
setGroupId
in interface Artifact
setGroupId
in class DefaultArtifact
public ArtifactRepository getRepository()
getRepository
in interface Artifact
getRepository
in class DefaultArtifact
public void setRepository(ArtifactRepository repository)
setRepository
in interface Artifact
setRepository
in class DefaultArtifact
public String getScope()
getScope
in interface Artifact
getScope
in class DefaultArtifact
public void setScope(String scope)
setScope
in interface Artifact
setScope
in class DefaultArtifact
public String getVersion()
getVersion
in interface Artifact
getVersion
in class DefaultArtifact
public void setVersion(String version)
setVersion
in interface Artifact
setVersion
in class DefaultArtifact
public VersionRange getVersionRange()
getVersionRange
in interface Artifact
getVersionRange
in class DefaultArtifact
public void setVersionRange(VersionRange range)
setVersionRange
in interface Artifact
setVersionRange
in class DefaultArtifact
public boolean isRelease()
isRelease
in interface Artifact
isRelease
in class DefaultArtifact
public void setRelease(boolean release)
setRelease
in interface Artifact
setRelease
in class DefaultArtifact
public boolean isSnapshot()
isSnapshot
in interface Artifact
isSnapshot
in class DefaultArtifact
public void addMetadata(ArtifactMetadata metadata)
addMetadata
in interface Artifact
addMetadata
in class DefaultArtifact
public Collection<ArtifactMetadata> getMetadataList()
getMetadataList
in interface Artifact
getMetadataList
in class DefaultArtifact
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |