public class ArtifactItem extends Object implements org.apache.maven.shared.dependencies.DependableCoordinate, org.apache.maven.shared.artifact.ArtifactCoordinate
| Constructor and Description |
|---|
ArtifactItem() |
ArtifactItem(org.apache.maven.artifact.Artifact artifact) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.artifact.Artifact |
getArtifact() |
ArtifactCoords |
getArtifactCoords() |
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getClassifier() |
String |
getExtension() |
String |
getGroupId() |
String |
getType() |
String |
getVersion() |
void |
setArtifact(org.apache.maven.artifact.Artifact artifact) |
void |
setArtifactId(String artifact) |
void |
setClassifier(String classifier) |
void |
setExtension(String extension) |
void |
setGroupId(String groupId) |
void |
setType(String type) |
void |
setVersion(String version) |
String |
toString() |
public ArtifactItem()
public ArtifactItem(org.apache.maven.artifact.Artifact artifact)
public String getArtifactId()
getArtifactId in interface org.apache.maven.shared.artifact.ArtifactCoordinategetArtifactId in interface org.apache.maven.shared.dependencies.DependableCoordinatepublic void setArtifactId(String artifact)
artifact - The artifactId to set.public String getGroupId()
getGroupId in interface org.apache.maven.shared.artifact.ArtifactCoordinategetGroupId in interface org.apache.maven.shared.dependencies.DependableCoordinatepublic void setGroupId(String groupId)
groupId - The groupId to set.public String getType()
getType in interface org.apache.maven.shared.dependencies.DependableCoordinatepublic void setType(String type)
type - The type to set.public String getVersion()
getVersion in interface org.apache.maven.shared.artifact.ArtifactCoordinategetVersion in interface org.apache.maven.shared.dependencies.DependableCoordinatepublic void setVersion(String version)
version - The version to set.public String getBaseVersion()
public String getClassifier()
getClassifier in interface org.apache.maven.shared.artifact.ArtifactCoordinategetClassifier in interface org.apache.maven.shared.dependencies.DependableCoordinatepublic void setClassifier(String classifier)
classifier - Classifier.public org.apache.maven.artifact.Artifact getArtifact()
public void setArtifact(org.apache.maven.artifact.Artifact artifact)
artifact - The artifact to set.public void setExtension(String extension)
public String getExtension()
getExtension in interface org.apache.maven.shared.artifact.ArtifactCoordinatepublic ArtifactCoords getArtifactCoords()
Copyright © 2016–2018 JBoss by Red Hat. All rights reserved.