org.apache.maven.project.artifact
Class AttachedArtifact

java.lang.Object
  extended by org.apache.maven.artifact.DefaultArtifact
      extended by org.apache.maven.project.artifact.AttachedArtifact
All Implemented Interfaces:
Comparable<Artifact>, Artifact

Deprecated.

@Deprecated
public class AttachedArtifact
extends DefaultArtifact

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 getAvailableVersions()
          Deprecated.  
 String getBaseVersion()
          Deprecated.  
 String getDownloadUrl()
          Deprecated.  
 Collection 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 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

AttachedArtifact

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

AttachedArtifact

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

setArtifactId

public void setArtifactId(String artifactId)
Deprecated. 
Specified by:
setArtifactId in interface Artifact
Overrides:
setArtifactId in class DefaultArtifact

getAvailableVersions

public List getAvailableVersions()
Deprecated. 
Specified by:
getAvailableVersions in interface Artifact
Overrides:
getAvailableVersions in class DefaultArtifact

setAvailableVersions

public void setAvailableVersions(List availableVersions)
Deprecated. 
Specified by:
setAvailableVersions in interface Artifact
Overrides:
setAvailableVersions in class DefaultArtifact

getBaseVersion

public String getBaseVersion()
Deprecated. 
Specified by:
getBaseVersion in interface Artifact
Overrides:
getBaseVersion in class DefaultArtifact

setBaseVersion

public void setBaseVersion(String baseVersion)
Deprecated. 
Specified by:
setBaseVersion in interface Artifact
Overrides:
setBaseVersion in class DefaultArtifact

getDownloadUrl

public String getDownloadUrl()
Deprecated. 
Specified by:
getDownloadUrl in interface Artifact
Overrides:
getDownloadUrl in class DefaultArtifact

setDownloadUrl

public void setDownloadUrl(String downloadUrl)
Deprecated. 
Specified by:
setDownloadUrl in interface Artifact
Overrides:
setDownloadUrl in class DefaultArtifact

setGroupId

public void setGroupId(String groupId)
Deprecated. 
Specified by:
setGroupId in interface Artifact
Overrides:
setGroupId in class DefaultArtifact

getRepository

public ArtifactRepository getRepository()
Deprecated. 
Specified by:
getRepository in interface Artifact
Overrides:
getRepository in class DefaultArtifact

setRepository

public void setRepository(ArtifactRepository repository)
Deprecated. 
Specified by:
setRepository in interface Artifact
Overrides:
setRepository in class DefaultArtifact

getScope

public String getScope()
Deprecated. 
Specified by:
getScope in interface Artifact
Overrides:
getScope in class DefaultArtifact

setScope

public void setScope(String scope)
Deprecated. 
Specified by:
setScope in interface Artifact
Overrides:
setScope in class DefaultArtifact

getVersion

public String getVersion()
Deprecated. 
Specified by:
getVersion in interface Artifact
Overrides:
getVersion in class DefaultArtifact

setVersion

public void setVersion(String version)
Deprecated. 
Specified by:
setVersion in interface Artifact
Overrides:
setVersion in class DefaultArtifact

getVersionRange

public VersionRange getVersionRange()
Deprecated. 
Specified by:
getVersionRange in interface Artifact
Overrides:
getVersionRange in class DefaultArtifact

setVersionRange

public void setVersionRange(VersionRange range)
Deprecated. 
Specified by:
setVersionRange in interface Artifact
Overrides:
setVersionRange in class DefaultArtifact

isRelease

public boolean isRelease()
Deprecated. 
Specified by:
isRelease in interface Artifact
Overrides:
isRelease in class DefaultArtifact

setRelease

public void setRelease(boolean release)
Deprecated. 
Specified by:
setRelease in interface Artifact
Overrides:
setRelease in class DefaultArtifact

isSnapshot

public boolean isSnapshot()
Deprecated. 
Specified by:
isSnapshot in interface Artifact
Overrides:
isSnapshot in class DefaultArtifact

addMetadata

public void addMetadata(ArtifactMetadata metadata)
Deprecated. 
Specified by:
addMetadata in interface Artifact
Overrides:
addMetadata in class DefaultArtifact

getMetadataList

public Collection getMetadataList()
Deprecated. 
Specified by:
getMetadataList in interface Artifact
Overrides:
getMetadataList in class DefaultArtifact


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