Interface ArtifactHandler
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the classifier associated to the dependency type.Get the file extension associated to the file represented by the dependency type.boolean
boolean
-
Field Details
-
ROLE
-
-
Method Details
-
getExtension
String getExtension()Get the file extension associated to the file represented by the dependency type.- Returns:
- the file extension
-
getDirectory
String getDirectory() -
getClassifier
String getClassifier()Get the classifier associated to the dependency type.- Returns:
- the classifier
-
getPackaging
String getPackaging() -
isIncludesDependencies
boolean isIncludesDependencies() -
getLanguage
String getLanguage() -
isAddedToClasspath
boolean isAddedToClasspath()
-