org.apache.maven.project.artifact
Class AttachedArtifact

java.lang.Object
  extended byorg.apache.maven.artifact.DefaultArtifact
      extended byorg.apache.maven.project.artifact.AttachedArtifact
All Implemented Interfaces:
Artifact, Comparable

public class AttachedArtifact
extends DefaultArtifact


Field Summary
 
Fields inherited from interface org.apache.maven.artifact.Artifact
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
 
Constructor Summary
AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler)
           
AttachedArtifact(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler)
           
 
Method Summary
 void addMetadata(ArtifactMetadata metadata)
           
 List getAvailableVersions()
           
 String getBaseVersion()
           
 String getDownloadUrl()
           
 Collection getMetadataList()
           
 ArtifactRepository getRepository()
           
 String getScope()
           
 String getVersion()
           
 VersionRange getVersionRange()
           
 boolean isRelease()
           
 boolean isSnapshot()
           
 void setArtifactId(String artifactId)
           
 void setAvailableVersions(List availableVersions)
           
 void setBaseVersion(String baseVersion)
           
 void setDownloadUrl(String downloadUrl)
           
 void setGroupId(String groupId)
           
 void setRelease(boolean release)
           
 void setRepository(ArtifactRepository repository)
           
 void setScope(String scope)
           
 void setVersion(String version)
           
 void setVersionRange(VersionRange range)
           
 
Methods inherited from class org.apache.maven.artifact.DefaultArtifact
compareTo, equals, getArtifactHandler, getArtifactId, getBaseVersionInternal, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getFile, getGroupId, getId, getMetadata, 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

AttachedArtifact

public AttachedArtifact(Artifact parent,
                        String type,
                        String classifier,
                        ArtifactHandler artifactHandler)

AttachedArtifact

public AttachedArtifact(Artifact parent,
                        String type,
                        ArtifactHandler artifactHandler)
Method Detail

setArtifactId

public void setArtifactId(String artifactId)

getAvailableVersions

public List getAvailableVersions()

setAvailableVersions

public void setAvailableVersions(List availableVersions)

getBaseVersion

public String getBaseVersion()

setBaseVersion

public void setBaseVersion(String baseVersion)

getDownloadUrl

public String getDownloadUrl()

setDownloadUrl

public void setDownloadUrl(String downloadUrl)

setGroupId

public void setGroupId(String groupId)

getRepository

public ArtifactRepository getRepository()

setRepository

public void setRepository(ArtifactRepository repository)

getScope

public String getScope()

setScope

public void setScope(String scope)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getVersionRange

public VersionRange getVersionRange()

setVersionRange

public void setVersionRange(VersionRange range)

isRelease

public boolean isRelease()

setRelease

public void setRelease(boolean release)

isSnapshot

public boolean isSnapshot()

addMetadata

public void addMetadata(ArtifactMetadata metadata)

getMetadataList

public Collection getMetadataList()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.