public class ArtifactStub extends Object implements Artifact
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
Constructor and Description |
---|
ArtifactStub() |
public void populate(MavenProjectBasicStub project)
public boolean hasClassifier()
hasClassifier
in interface Artifact
public String getBaseVersion()
getBaseVersion
in interface Artifact
public void setBaseVersion(String version)
setBaseVersion
in interface Artifact
public String getGroupId()
getGroupId
in interface Artifact
public String getArtifactId()
getArtifactId
in interface Artifact
public String getVersion()
getVersion
in interface Artifact
public void setVersion(String _version)
setVersion
in interface Artifact
public String getClassifier()
getClassifier
in interface Artifact
public String getDependencyConflictId()
getDependencyConflictId
in interface Artifact
public void addMetadata(ArtifactMetadata metadata)
addMetadata
in interface Artifact
public Collection getMetadataList()
getMetadataList
in interface Artifact
public void setRepository(ArtifactRepository remoteRepository)
setRepository
in interface Artifact
public ArtifactRepository getRepository()
getRepository
in interface Artifact
public void updateVersion(String version, ArtifactRepository localRepository)
updateVersion
in interface Artifact
public String getDownloadUrl()
getDownloadUrl
in interface Artifact
public void setDownloadUrl(String _downloadUrl)
setDownloadUrl
in interface Artifact
public ArtifactFilter getDependencyFilter()
getDependencyFilter
in interface Artifact
public void setDependencyFilter(ArtifactFilter artifactFilter)
setDependencyFilter
in interface Artifact
public ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface Artifact
public List getDependencyTrail()
getDependencyTrail
in interface Artifact
public void setDependencyTrail(List dependencyTrail)
setDependencyTrail
in interface Artifact
public VersionRange getVersionRange()
getVersionRange
in interface Artifact
public void setVersionRange(VersionRange newRange)
setVersionRange
in interface Artifact
public void selectVersion(String version)
selectVersion
in interface Artifact
public void setGroupId(String _groupId)
setGroupId
in interface Artifact
public void setArtifactId(String _artifactId)
setArtifactId
in interface Artifact
public boolean isSnapshot()
isSnapshot
in interface Artifact
public void setResolved(boolean _resolved)
setResolved
in interface Artifact
public boolean isResolved()
isResolved
in interface Artifact
public void setResolvedVersion(String version)
setResolvedVersion
in interface Artifact
public void setArtifactHandler(ArtifactHandler handler)
setArtifactHandler
in interface Artifact
public void setRelease(boolean _release)
setRelease
in interface Artifact
public List getAvailableVersions()
getAvailableVersions
in interface Artifact
public void setAvailableVersions(List versions)
setAvailableVersions
in interface Artifact
public boolean isOptional()
isOptional
in interface Artifact
public void setOptional(boolean _optional)
setOptional
in interface Artifact
public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException
getSelectedVersion
in interface Artifact
OverConstrainedVersionException
public boolean isSelectedVersionKnown() throws OverConstrainedVersionException
isSelectedVersionKnown
in interface Artifact
OverConstrainedVersionException
public int compareTo(Object object)
compareTo
in interface Comparable
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.