Class DefaultArtifactHandler
java.lang.Object
org.apache.maven.artifact.handler.DefaultArtifactHandler
- All Implemented Interfaces:
ArtifactHandler
@Component(role=org.apache.maven.artifact.handler.ArtifactHandler.class)
public class DefaultArtifactHandler
extends Object
implements ArtifactHandler
- Author:
- Brett Porter, Jason van Zyl
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
boolean
void
setAddedToClasspath
(boolean addedToClasspath) void
setExtension
(String extension) void
setIncludesDependencies
(boolean includesDependencies) void
setLanguage
(String language)
-
Constructor Details
-
DefaultArtifactHandler
public DefaultArtifactHandler() -
DefaultArtifactHandler
-
-
Method Details
-
getExtension
- Specified by:
getExtension
in interfaceArtifactHandler
-
setExtension
-
getType
-
getClassifier
- Specified by:
getClassifier
in interfaceArtifactHandler
-
getDirectory
- Specified by:
getDirectory
in interfaceArtifactHandler
-
getPackaging
- Specified by:
getPackaging
in interfaceArtifactHandler
-
isIncludesDependencies
public boolean isIncludesDependencies()- Specified by:
isIncludesDependencies
in interfaceArtifactHandler
-
setIncludesDependencies
public void setIncludesDependencies(boolean includesDependencies) -
getLanguage
- Specified by:
getLanguage
in interfaceArtifactHandler
-
setLanguage
-
isAddedToClasspath
public boolean isAddedToClasspath()- Specified by:
isAddedToClasspath
in interfaceArtifactHandler
-
setAddedToClasspath
public void setAddedToClasspath(boolean addedToClasspath)
-