Class DefaultArtifactHandler
java.lang.Object
org.apache.maven.artifact.handler.DefaultArtifactHandler
- All Implemented Interfaces:
ArtifactHandler
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.This ctor is present only for Plexus XML defined component compatibility, do not use it.DefaultArtifactHandler(String type) DefaultArtifactHandler(String type, String extension, String classifier, String directory, String packaging, boolean includesDependencies, String language, boolean addedToClasspath) -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanDeprecated.booleanvoidsetAddedToClasspath(boolean addedToClasspath) Deprecated.voidsetClassifier(String classifier) voidsetDirectory(String directory) voidsetExtension(String extension) voidsetIncludesDependencies(boolean includesDependencies) voidsetLanguage(String language) voidsetPackaging(String packaging)
-
Constructor Details
-
DefaultArtifactHandler
Deprecated.This ctor is present only for Plexus XML defined component compatibility, do not use it.Default ctor for Plexus compatibility, as many plugins have artifact handlers declared in legacy Plexus XML. Do not use directly! -
DefaultArtifactHandler
-
DefaultArtifactHandler
-
-
Method Details
-
getType
-
getExtension
- Specified by:
getExtensionin interfaceArtifactHandler
-
setExtension
-
getClassifier
- Specified by:
getClassifierin interfaceArtifactHandler
-
setClassifier
-
getDirectory
- Specified by:
getDirectoryin interfaceArtifactHandler
-
setDirectory
-
getPackaging
- Specified by:
getPackagingin interfaceArtifactHandler
-
setPackaging
-
isIncludesDependencies
public boolean isIncludesDependencies()- Specified by:
isIncludesDependenciesin interfaceArtifactHandler
-
setIncludesDependencies
public void setIncludesDependencies(boolean includesDependencies) -
getLanguage
- Specified by:
getLanguagein interfaceArtifactHandler
-
setLanguage
-
isAddedToClasspath
Deprecated.- Specified by:
isAddedToClasspathin interfaceArtifactHandler
-
setAddedToClasspath
Deprecated.
-