Class DefaultArtifactHandler
java.lang.Object
org.apache.maven.artifact.handler.DefaultArtifactHandler
- All Implemented Interfaces:
- ArtifactHandler
@Component(role=ArtifactHandler.class)
public class DefaultArtifactHandler
extends Object
implements ArtifactHandler
- Author:
- Brett Porter, Jason van Zyl
- 
Field SummaryFields inherited from interface org.apache.maven.artifact.handler.ArtifactHandlerROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the classifier associated to the dependency type.Get the file extension associated to the file represented by the dependency type.getType()booleanbooleanvoidsetAddedToClasspath(boolean addedToClasspath) voidsetExtension(String extension) voidsetIncludesDependencies(boolean includesDependencies) voidsetLanguage(String language) 
- 
Constructor Details- 
DefaultArtifactHandlerpublic DefaultArtifactHandler()
- 
DefaultArtifactHandler
 
- 
- 
Method Details- 
getExtensionDescription copied from interface:ArtifactHandlerGet the file extension associated to the file represented by the dependency type.- Specified by:
- getExtensionin interface- ArtifactHandler
- Returns:
- the file extension
 
- 
setExtension
- 
getType
- 
getClassifierDescription copied from interface:ArtifactHandlerGet the classifier associated to the dependency type.- Specified by:
- getClassifierin interface- ArtifactHandler
- Returns:
- the classifier
 
- 
getDirectory- Specified by:
- getDirectoryin interface- ArtifactHandler
 
- 
getPackaging- Specified by:
- getPackagingin interface- ArtifactHandler
 
- 
isIncludesDependenciespublic boolean isIncludesDependencies()- Specified by:
- isIncludesDependenciesin interface- ArtifactHandler
 
- 
setIncludesDependenciespublic void setIncludesDependencies(boolean includesDependencies) 
- 
getLanguage- Specified by:
- getLanguagein interface- ArtifactHandler
 
- 
setLanguage
- 
isAddedToClasspathpublic boolean isAddedToClasspath()- Specified by:
- isAddedToClasspathin interface- ArtifactHandler
 
- 
setAddedToClasspathpublic void setAddedToClasspath(boolean addedToClasspath) 
 
-