Interface ArtifactHandler
- All Known Implementing Classes:
- DefaultArtifactHandler
public interface ArtifactHandler
An artifact handler defines for a dependency type, defined as Plexus role:
- extension and classifier, to be able to download the file,
- information on how to use the artifact: whether to add it to the classpath, or to take into account its dependencies.
- Author:
- Jason van Zyl
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionGet the classifier associated to the dependency type.Get the file extension associated to the file represented by the dependency type.booleanboolean
- 
Field Details- 
ROLE
 
- 
- 
Method Details- 
getExtensionString getExtension()Get the file extension associated to the file represented by the dependency type.- Returns:
- the file extension
 
- 
getDirectoryString getDirectory()
- 
getClassifierString getClassifier()Get the classifier associated to the dependency type.- Returns:
- the classifier
 
- 
getPackagingString getPackaging()
- 
isIncludesDependenciesboolean isIncludesDependencies()
- 
getLanguageString getLanguage()
- 
isAddedToClasspathboolean isAddedToClasspath()
 
-