Class DefaultArtifactHandlerStub
java.lang.Object
org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
- All Implemented Interfaces:
 org.apache.maven.artifact.handler.ArtifactHandler
public class DefaultArtifactHandlerStub
extends Object
implements org.apache.maven.artifact.handler.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
ConstructorsConstructorDescription - 
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanbooleanvoidsetAddedToClasspath(boolean theAddedToClasspath) voidsetClassifier(String theClassifier) voidsetDirectory(String theDirectory) voidsetExtension(String theExtension) voidsetIncludesDependencies(boolean theIncludesDependencies) voidsetLanguage(String theLanguage) voidsetPackaging(String thePackaging) void 
- 
Constructor Details
- 
DefaultArtifactHandlerStub
- Parameters:
 t- the artifact handler typec- the artifact handler classifier
 - 
DefaultArtifactHandlerStub
- Parameters:
 type- the artifact handler type
 
 - 
 - 
Method Details
- 
getExtension
- Specified by:
 getExtensionin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
getType
- Returns:
 - the artifact handler type
 
 - 
getClassifier
- Specified by:
 getClassifierin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
getDirectory
- Specified by:
 getDirectoryin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
getPackaging
- Specified by:
 getPackagingin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
isIncludesDependencies
public boolean isIncludesDependencies()- Specified by:
 isIncludesDependenciesin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
getLanguage
- Specified by:
 getLanguagein interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
isAddedToClasspath
public boolean isAddedToClasspath()- Specified by:
 isAddedToClasspathin interfaceorg.apache.maven.artifact.handler.ArtifactHandler
 - 
setAddedToClasspath
public void setAddedToClasspath(boolean theAddedToClasspath) - Parameters:
 theAddedToClasspath- The addedToClasspath to set.
 - 
setClassifier
- Parameters:
 theClassifier- The classifier to set.
 - 
setDirectory
- Parameters:
 theDirectory- The directory to set.
 - 
setExtension
- Parameters:
 theExtension- The extension to set.
 - 
setIncludesDependencies
public void setIncludesDependencies(boolean theIncludesDependencies) - Parameters:
 theIncludesDependencies- The includesDependencies to set.
 - 
setLanguage
- Parameters:
 theLanguage- The language to set.
 - 
setPackaging
- Parameters:
 thePackaging- The packaging to set.
 - 
setType
- Parameters:
 theType- The type to set.
 
 -