public class DefaultArtifact extends ArtifactMetadata implements Artifact
artifactId, artifactScope, artifactUri, attributes, classifier, DEFAULT_ARTIFACT_TYPE, dependencies, effectiveCoordinates, exclusions, groupId, inclusions, optional, relocations, scope, typeLATEST_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, toScopedStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetArtifactId, getBaseName, getBaseName, getClassifier, getGroupId, getScope, getType, getVersion, hasClassifier, setArtifactId, setGroupId, setVersionpublic 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 Artifactpublic byte[] getPomBlob()
getPomBlob in interface Artifactpublic String toString()
toString in class ArtifactMetadatapublic int hashCode()
hashCode in class ArtifactMetadatapublic boolean equals(Object o)
equals in class ArtifactMetadatapublic 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 The Apache Software Foundation. All rights reserved.