public class ArtifactItem extends Object implements org.apache.maven.shared.transfer.dependencies.DependableCoordinate
Constructor and Description |
---|
ArtifactItem()
Default ctor.
|
ArtifactItem(org.apache.maven.artifact.Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.artifact.Artifact |
getArtifact() |
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getClassifier() |
String |
getDestFileName() |
String |
getEncoding() |
String |
getExcludes() |
org.codehaus.plexus.components.io.filemappers.FileMapper[] |
getFileMappers() |
String |
getGroupId() |
String |
getIncludes() |
File |
getOutputDirectory() |
String |
getOverWrite() |
String |
getType() |
String |
getVersion() |
boolean |
isNeedsProcessing() |
void |
setArtifact(org.apache.maven.artifact.Artifact artifact) |
void |
setArtifactId(String theArtifact) |
void |
setClassifier(String classifier) |
void |
setDestFileName(String destFileName) |
void |
setEncoding(String encoding) |
void |
setExcludes(String excludes) |
void |
setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers) |
void |
setGroupId(String groupId) |
void |
setIncludes(String includes) |
void |
setNeedsProcessing(boolean needsProcessing) |
void |
setOutputDirectory(File outputDirectory) |
void |
setOverWrite(String overWrite) |
void |
setType(String type) |
void |
setVersion(String version) |
String |
toString() |
public ArtifactItem()
public ArtifactItem(org.apache.maven.artifact.Artifact artifact)
artifact
- Artifact
public String getArtifactId()
getArtifactId
in interface org.apache.maven.shared.transfer.dependencies.DependableCoordinate
public void setArtifactId(String theArtifact)
theArtifact
- The artifactId to set.public String getGroupId()
getGroupId
in interface org.apache.maven.shared.transfer.dependencies.DependableCoordinate
public void setGroupId(String groupId)
groupId
- The groupId to set.public String getType()
getType
in interface org.apache.maven.shared.transfer.dependencies.DependableCoordinate
public void setType(String type)
type
- The type to set.public String getVersion()
getVersion
in interface org.apache.maven.shared.transfer.dependencies.DependableCoordinate
public void setVersion(String version)
version
- The version to set.public String getBaseVersion()
public String getClassifier()
getClassifier
in interface org.apache.maven.shared.transfer.dependencies.DependableCoordinate
public void setClassifier(String classifier)
classifier
- Classifier.public File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
outputDirectory
- The outputDirectory to set.public String getDestFileName()
public void setDestFileName(String destFileName)
destFileName
- The destFileName to set.public boolean isNeedsProcessing()
public void setNeedsProcessing(boolean needsProcessing)
needsProcessing
- The needsProcessing to set.public String getOverWrite()
public void setOverWrite(String overWrite)
overWrite
- The overWrite to set.public String getEncoding()
public void setEncoding(String encoding)
encoding
- The encoding to set.public org.apache.maven.artifact.Artifact getArtifact()
public void setArtifact(org.apache.maven.artifact.Artifact artifact)
artifact
- The artifact to set.public String getExcludes()
public void setExcludes(String excludes)
excludes
- A comma separated list of items to exclude i.e. **\/*.xml, **\/*.properties
public String getIncludes()
public void setIncludes(String includes)
includes
- A comma separated list of items to include i.e. **\/*.xml, **\/*.properties
public org.codehaus.plexus.components.io.filemappers.FileMapper[] getFileMappers()
FileMapper
s to be used for rewriting each target path, or null
if no rewriting shall
happen.public void setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers)
fileMappers
- FileMapper
s to be used for rewriting each target path, or null
if no
rewriting shall happen.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.