org.apache.maven.plugin.testing.stubs
Class DefaultArtifactHandlerStub

java.lang.Object
  extended by org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
All Implemented Interfaces:
ArtifactHandler

public class DefaultArtifactHandlerStub
extends Object
implements ArtifactHandler

minimal artifact handler used by the stub factory to create unpackable archives.

Author:
Brian Fox

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
 
Constructor Summary
DefaultArtifactHandlerStub(String type)
           
DefaultArtifactHandlerStub(String t, String c)
           
 
Method Summary
 String getClassifier()
           
 String getDirectory()
           
 String getExtension()
           
 String getLanguage()
           
 String getPackaging()
           
 String getType()
           
 boolean isAddedToClasspath()
           
 boolean isIncludesDependencies()
           
 void setAddedToClasspath(boolean theAddedToClasspath)
           
 void setClassifier(String theClassifier)
           
 void setDirectory(String theDirectory)
           
 void setExtension(String theExtension)
           
 void setIncludesDependencies(boolean theIncludesDependencies)
           
 void setLanguage(String theLanguage)
           
 void setPackaging(String thePackaging)
           
 void setType(String theType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactHandlerStub

public DefaultArtifactHandlerStub(String t,
                                  String c)

DefaultArtifactHandlerStub

public DefaultArtifactHandlerStub(String type)
Method Detail

getExtension

public String getExtension()
Specified by:
getExtension in interface ArtifactHandler

getType

public String getType()

getClassifier

public String getClassifier()
Specified by:
getClassifier in interface ArtifactHandler

getDirectory

public String getDirectory()
Specified by:
getDirectory in interface ArtifactHandler

getPackaging

public String getPackaging()
Specified by:
getPackaging in interface ArtifactHandler

isIncludesDependencies

public boolean isIncludesDependencies()
Specified by:
isIncludesDependencies in interface ArtifactHandler

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface ArtifactHandler

isAddedToClasspath

public boolean isAddedToClasspath()
Specified by:
isAddedToClasspath in interface ArtifactHandler

setAddedToClasspath

public void setAddedToClasspath(boolean theAddedToClasspath)
Parameters:
theAddedToClasspath - The addedToClasspath to set.

setClassifier

public void setClassifier(String theClassifier)
Parameters:
theClassifier - The classifier to set.

setDirectory

public void setDirectory(String theDirectory)
Parameters:
theDirectory - The directory to set.

setExtension

public void setExtension(String theExtension)
Parameters:
theExtension - The extension to set.

setIncludesDependencies

public void setIncludesDependencies(boolean theIncludesDependencies)
Parameters:
theIncludesDependencies - The includesDependencies to set.

setLanguage

public void setLanguage(String theLanguage)
Parameters:
theLanguage - The language to set.

setPackaging

public void setPackaging(String thePackaging)
Parameters:
thePackaging - The packaging to set.

setType

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


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