Interface ArtifactHandler
-
public interface ArtifactHandlerAn 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
Fields Modifier and Type Field Description static java.lang.StringROLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassifier()Get the classifier associated to the dependency type.java.lang.StringgetDirectory()java.lang.StringgetExtension()Get the file extension associated to the file represented by the dependency type.java.lang.StringgetLanguage()java.lang.StringgetPackaging()booleanisAddedToClasspath()booleanisIncludesDependencies()
-
-
-
Method Detail
-
getExtension
java.lang.String getExtension()
Get the file extension associated to the file represented by the dependency type.- Returns:
- the file extension
-
getDirectory
java.lang.String getDirectory()
-
getClassifier
java.lang.String getClassifier()
Get the classifier associated to the dependency type.- Returns:
- the classifier
-
getPackaging
java.lang.String getPackaging()
-
isIncludesDependencies
boolean isIncludesDependencies()
-
getLanguage
java.lang.String getLanguage()
-
isAddedToClasspath
boolean isAddedToClasspath()
-
-