org.apache.maven.plugin.dependency.fromConfiguration
Class ArtifactItem

java.lang.Object
  extended by org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem

public class ArtifactItem
extends Object

ArtifactItem represents information specified in the plugin configuration section for each artifact.

Since:
1.0
Version:
$Id: ArtifactItem.java 1085777 2011-03-26 18:13:19Z hboutemy $
Author:
Brian Fox

Constructor Summary
ArtifactItem()
           
ArtifactItem(org.apache.maven.artifact.Artifact artifact)
           
 
Method Summary
 org.apache.maven.artifact.Artifact getArtifact()
           
 String getArtifactId()
           
 String getClassifier()
           
 String getDestFileName()
           
 String getExcludes()
           
 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 artifact)
           
 void setClassifier(String classifier)
           
 void setDestFileName(String destFileName)
           
 void setExcludes(String excludes)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactItem

public ArtifactItem()

ArtifactItem

public ArtifactItem(org.apache.maven.artifact.Artifact artifact)
Method Detail

getArtifactId

public String getArtifactId()
Returns:
Returns the artifactId.

setArtifactId

public void setArtifactId(String artifact)
Parameters:
artifactId - The artifactId to set.

getGroupId

public String getGroupId()
Returns:
Returns the groupId.

setGroupId

public void setGroupId(String groupId)
Parameters:
groupId - The groupId to set.

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type to set.

getVersion

public String getVersion()
Returns:
Returns the version.

setVersion

public void setVersion(String version)
Parameters:
version - The version to set.

getClassifier

public String getClassifier()
Returns:
Classifier.

setClassifier

public void setClassifier(String classifier)
Parameters:
classifier - Classifier.

toString

public String toString()
Overrides:
toString in class Object

getOutputDirectory

public File getOutputDirectory()
Returns:
Returns the location.

setOutputDirectory

public void setOutputDirectory(File outputDirectory)
Parameters:
location - The location to set.

getDestFileName

public String getDestFileName()
Returns:
Returns the location.

setDestFileName

public void setDestFileName(String destFileName)
Parameters:
destFileName - The destFileName to set.

isNeedsProcessing

public boolean isNeedsProcessing()
Returns:
Returns the needsProcessing.

setNeedsProcessing

public void setNeedsProcessing(boolean needsProcessing)
Parameters:
needsProcessing - The needsProcessing to set.

getOverWrite

public String getOverWrite()
Returns:
Returns the overWriteSnapshots.

setOverWrite

public void setOverWrite(String overWrite)
Parameters:
overWriteSnapshots - The overWriteSnapshots to set.

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()
Returns:
Returns the artifact.

setArtifact

public void setArtifact(org.apache.maven.artifact.Artifact artifact)
Parameters:
artifact - The artifact to set.

getExcludes

public String getExcludes()
Returns:
Returns a comma separated list of excluded items

setExcludes

public void setExcludes(String excludes)
Parameters:
excludes - A comma separated list of items to exclude i.e. **\/*.xml, **\/*.properties

getIncludes

public String getIncludes()
Returns:
Returns a comma separated list of included items

setIncludes

public void setIncludes(String includes)
Parameters:
includes - A comma separated list of items to include i.e. **\/*.xml, **\/*.properties


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.