public class DefaultArtifact extends ArtifactMetadata implements Artifact
artifactId, artifactScope, artifactUri, attributes, classifier, DEFAULT_ARTIFACT_TYPE, dependencies, effectiveCoordinates, exclusions, groupId, inclusions, optional, relocations, scope, type
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_TS_REGEX, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
Constructor and Description |
---|
DefaultArtifact(ArtifactMetadata bmd) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Artifact o) |
boolean |
equals(Object o) |
String |
getDependencyConflictId() |
String |
getDownloadUrl() |
File |
getFile() |
String |
getId() |
String |
getInheritedScope() |
byte[] |
getPomBlob() |
File |
getPomFile() |
InputStream |
getStream() |
int |
hashCode() |
void |
setDownloadUrl(String downloadUrl) |
void |
setFile(File file) |
void |
setPomBlob(byte[] pomBlob) |
void |
setPomFile(File file) |
void |
setResolvedVersion(String version) |
void |
setStream(InputStream stream) |
String |
toString() |
addRelocation, allowDependency, create, getArtifactId, getArtifactScope, getArtifactUri, getAttributes, getBaseName, getBaseName, getCheckedType, getClassifier, getDatum, getDependencies, getEffectiveArtifactId, getEffectiveCoordinates, getEffectiveersion, getEffectiveGroupId, getExclusions, getFileName, getGA, getGAV, getGroupId, getInclusions, getRequestedQuality, getScope, getScopeAsEnum, getTracker, getType, getVersion, hasClassifier, hasExclusions, hasInclusions, hasVersion, isLocal, isOptional, isPom, isRange, isSingleton, isVirtual, isVirtualLatest, isVirtualRelease, isVirtualSnapshot, sameGA, sameGAV, setArtifactId, setArtifactScope, setArtifactUri, setClassifier, setDatum, setDependencies, setExclusions, setGroupId, setInclusions, setLocal, setOptional, setOptional, setScope, setTracker, setType, setVersion, toDomainString, toManagementString, toScopedString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getArtifactId, getBaseName, getBaseName, getClassifier, getGroupId, getScope, getType, getVersion, hasClassifier, setArtifactId, setGroupId, setVersion
public DefaultArtifact(ArtifactMetadata bmd)
public String getInheritedScope()
public void setPomFile(File file)
public File getPomFile()
public void setStream(InputStream stream)
public InputStream getStream()
public String getDependencyConflictId()
public void setPomBlob(byte[] pomBlob)
setPomBlob
in interface Artifact
public byte[] getPomBlob()
getPomBlob
in interface Artifact
public String toString()
toString
in class ArtifactMetadata
public int hashCode()
hashCode
in class ArtifactMetadata
public boolean equals(Object o)
equals
in class ArtifactMetadata
public int compareTo(Artifact o)
compareTo
in interface Comparable<Artifact>
public String getDownloadUrl()
public void setDownloadUrl(String downloadUrl)
public void setResolvedVersion(String version)
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.