org.apache.maven.plugin.testing.stubs
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 java.lang.Object
- implements org.apache.maven.artifact.handler.ArtifactHandler
minimal artifact handler used by the stub factory to create unpackable archives.
- Author:
- Brian Fox
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extension
private java.lang.String extension
type
private java.lang.String type
classifier
private java.lang.String classifier
directory
private java.lang.String directory
packaging
private java.lang.String packaging
includesDependencies
private boolean includesDependencies
language
private java.lang.String language
addedToClasspath
private boolean addedToClasspath
DefaultArtifactHandlerStub
public DefaultArtifactHandlerStub(java.lang.String t,
java.lang.String c)
DefaultArtifactHandlerStub
public DefaultArtifactHandlerStub(java.lang.String type)
getExtension
public java.lang.String getExtension()
- Specified by:
getExtension
in interface org.apache.maven.artifact.handler.ArtifactHandler
getType
public java.lang.String getType()
getClassifier
public java.lang.String getClassifier()
- Specified by:
getClassifier
in interface org.apache.maven.artifact.handler.ArtifactHandler
getDirectory
public java.lang.String getDirectory()
- Specified by:
getDirectory
in interface org.apache.maven.artifact.handler.ArtifactHandler
getPackaging
public java.lang.String getPackaging()
- Specified by:
getPackaging
in interface org.apache.maven.artifact.handler.ArtifactHandler
isIncludesDependencies
public boolean isIncludesDependencies()
- Specified by:
isIncludesDependencies
in interface org.apache.maven.artifact.handler.ArtifactHandler
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interface org.apache.maven.artifact.handler.ArtifactHandler
isAddedToClasspath
public boolean isAddedToClasspath()
- Specified by:
isAddedToClasspath
in interface org.apache.maven.artifact.handler.ArtifactHandler
setAddedToClasspath
public void setAddedToClasspath(boolean theAddedToClasspath)
- Parameters:
theAddedToClasspath
- The addedToClasspath to set.
setClassifier
public void setClassifier(java.lang.String theClassifier)
- Parameters:
theClassifier
- The classifier to set.
setDirectory
public void setDirectory(java.lang.String theDirectory)
- Parameters:
theDirectory
- The directory to set.
setExtension
public void setExtension(java.lang.String theExtension)
- Parameters:
theExtension
- The extension to set.
setIncludesDependencies
public void setIncludesDependencies(boolean theIncludesDependencies)
- Parameters:
theIncludesDependencies
- The includesDependencies to set.
setLanguage
public void setLanguage(java.lang.String theLanguage)
- Parameters:
theLanguage
- The language to set.
setPackaging
public void setPackaging(java.lang.String thePackaging)
- Parameters:
thePackaging
- The packaging to set.
setType
public void setType(java.lang.String theType)
- Parameters:
theType
- The type to set.