public interface Artifact extends Comparable<Artifact>
Modifier and Type | Field and Description |
---|---|
static String |
LATEST_VERSION |
static String |
RELEASE_VERSION |
static String |
SCOPE_COMPILE |
static String |
SCOPE_PROVIDED |
static String |
SCOPE_RUNTIME |
static String |
SCOPE_SYSTEM |
static String |
SCOPE_TEST |
static String |
SNAPSHOT_TS_REGEX |
static String |
SNAPSHOT_VERSION |
static Pattern |
VERSION_FILE_PATTERN |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
String |
getBaseName() |
String |
getBaseName(String classifier) |
String |
getClassifier() |
File |
getFile() |
String |
getGroupId() |
String |
getId() |
byte[] |
getPomBlob() |
String |
getScope()
Get the artifactScope of the artifact.
|
InputStream |
getStream() |
String |
getType() |
String |
getVersion() |
boolean |
hasClassifier() |
void |
setArtifactId(String artifactId) |
void |
setFile(File destination) |
void |
setGroupId(String groupId) |
void |
setPomBlob(byte[] pomBlob) |
void |
setVersion(String version) |
compareTo
static final String LATEST_VERSION
static final String SNAPSHOT_VERSION
static final String RELEASE_VERSION
static final String SNAPSHOT_TS_REGEX
static final Pattern VERSION_FILE_PATTERN
static final String SCOPE_COMPILE
static final String SCOPE_TEST
static final String SCOPE_RUNTIME
static final String SCOPE_PROVIDED
static final String SCOPE_SYSTEM
String getGroupId()
String getArtifactId()
String getVersion()
void setVersion(String version)
String getScope()
null
. The artifactScope may not be the same as it was declared on the original dependency, as this is the
result of combining it with the main project artifactScope.String getType()
String getClassifier()
boolean hasClassifier()
File getFile()
InputStream getStream()
void setFile(File destination)
byte[] getPomBlob()
void setPomBlob(byte[] pomBlob)
String getBaseName()
String getId()
void setGroupId(String groupId)
void setArtifactId(String artifactId)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.