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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassifier()
Get the classifier associated to the dependency type.String
getDirectory()
String
getExtension()
Get the file extension associated to the file represented by the dependency type.String
getLanguage()
String
getPackaging()
boolean
isAddedToClasspath()
boolean
isIncludesDependencies()
-
-
-
Field Detail
-
ROLE
static final String ROLE
-
-
Method Detail
-
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()
-
-