Class ProjectArtifact.PomArtifactHandler
- java.lang.Object
-
- org.apache.maven.project.artifact.ProjectArtifact.PomArtifactHandler
-
- All Implemented Interfaces:
ArtifactHandler
- Enclosing class:
- ProjectArtifact
static class ProjectArtifact.PomArtifactHandler extends java.lang.Object implements ArtifactHandler
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
-
-
Constructor Summary
Constructors Constructor Description PomArtifactHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
-
getClassifier
public java.lang.String getClassifier()
Description copied from interface:ArtifactHandlerGet the classifier associated to the dependency type.- Specified by:
getClassifierin interfaceArtifactHandler- Returns:
- the classifier
-
getDirectory
public java.lang.String getDirectory()
- Specified by:
getDirectoryin interfaceArtifactHandler
-
getExtension
public java.lang.String getExtension()
Description copied from interface:ArtifactHandlerGet the file extension associated to the file represented by the dependency type.- Specified by:
getExtensionin interfaceArtifactHandler- Returns:
- the file extension
-
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguagein interfaceArtifactHandler
-
getPackaging
public java.lang.String getPackaging()
- Specified by:
getPackagingin interfaceArtifactHandler
-
isAddedToClasspath
public boolean isAddedToClasspath()
- Specified by:
isAddedToClasspathin interfaceArtifactHandler
-
isIncludesDependencies
public boolean isIncludesDependencies()
- Specified by:
isIncludesDependenciesin interfaceArtifactHandler
-
-