org.apache.myfaces.buildtools.maven2.plugin.builder.unpack
Class ArtifactItem

java.lang.Object
  extended by org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.ArtifactItem

public class ArtifactItem
extends org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem

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

Since:
1.0
Version:
$Id: ArtifactItem.java 674207 2008-07-05 16:03:21Z skitching $
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()
Overrides:
getArtifactId in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the artifactId.

setArtifactId

public void setArtifactId(String artifact)
Overrides:
setArtifactId in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
artifactId - The artifactId to set.

getGroupId

public String getGroupId()
Overrides:
getGroupId in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the groupId.

setGroupId

public void setGroupId(String groupId)
Overrides:
setGroupId in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
groupId - The groupId to set.

getType

public String getType()
Overrides:
getType in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the type.

setType

public void setType(String type)
Overrides:
setType in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
type - The type to set.

getVersion

public String getVersion()
Overrides:
getVersion in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the version.

setVersion

public void setVersion(String version)
Overrides:
setVersion in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
version - The version to set.

getClassifier

public String getClassifier()
Overrides:
getClassifier in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Classifier.

setClassifier

public void setClassifier(String classifier)
Overrides:
setClassifier in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
classifier - Classifier.

toString

public String toString()
Overrides:
toString in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem

getOutputDirectory

public File getOutputDirectory()
Overrides:
getOutputDirectory in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the location.

setOutputDirectory

public void setOutputDirectory(File outputDirectory)
Overrides:
setOutputDirectory in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
location - The location to set.

getDestFileName

public String getDestFileName()
Overrides:
getDestFileName in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the location.

setDestFileName

public void setDestFileName(String destFileName)
Overrides:
setDestFileName in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
destFileName - The destFileName to set.

isNeedsProcessing

public boolean isNeedsProcessing()
Overrides:
isNeedsProcessing in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the needsProcessing.

setNeedsProcessing

public void setNeedsProcessing(boolean needsProcessing)
Overrides:
setNeedsProcessing in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
needsProcessing - The needsProcessing to set.

getOverWrite

public String getOverWrite()
Overrides:
getOverWrite in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the overWriteSnapshots.

setOverWrite

public void setOverWrite(String overWrite)
Overrides:
setOverWrite in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
overWriteSnapshots - The overWriteSnapshots to set.

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()
Overrides:
getArtifact in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns the artifact.

setArtifact

public void setArtifact(org.apache.maven.artifact.Artifact artifact)
Overrides:
setArtifact in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
artifact - The artifact to set.

getExcludes

public String getExcludes()
Overrides:
getExcludes in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns a comma separated list of excluded items

setExcludes

public void setExcludes(String excludes)
Overrides:
setExcludes in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
excludes - A comma seperated list of items to exclude i.e. **\/*.xml, **\/*.properties

getIncludes

public String getIncludes()
Overrides:
getIncludes in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Returns:
Returns a comma seperated list of included items

setIncludes

public void setIncludes(String includes)
Overrides:
setIncludes in class org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem
Parameters:
includes - A comma seperated list of items to inmclude i.e. **\/*.xml, **\/*.properties


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