public abstract class AbstractArtifact extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
artifactId |
protected String |
classifier |
protected File |
file |
protected String |
groupId |
protected String |
systemPath |
protected String |
type |
protected String |
version |
Constructor and Description |
---|
AbstractArtifact() |
AbstractArtifact(String groupId,
String artifactId,
String version,
String classifier,
String type) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildDefaultMavenCoordinates()
The
<groupId>:<artifactId>[:<extension>[:<classifier>]]:<version> of the artifact. |
String |
getArtifactCoordinates() |
String |
getArtifactId() |
String |
getClassifier() |
File |
getFile() |
String |
getGroupId() |
String |
getSystemPath() |
abstract String |
getType() |
String |
getVersion() |
void |
setArtifactId(String artifactId) |
void |
setClassifier(String classifier) |
void |
setFile(File file) |
void |
setGroupId(String groupId) |
void |
setSystemPath(String systemPath) |
void |
setType(String type) |
void |
setVersion(String version) |
String |
toString() |
protected String groupId
protected String artifactId
protected String version
protected String type
protected String classifier
protected String systemPath
protected File file
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public abstract String getType()
public void setType(String type)
public String getClassifier()
public void setClassifier(String classifier)
public String getSystemPath()
public void setSystemPath(String systemPath)
public File getFile()
public void setFile(File file)
public String getArtifactCoordinates()
protected String buildDefaultMavenCoordinates()
<groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
of the artifact.Copyright © 2012. All Rights Reserved.