Class TransformedArtifactHandler
java.lang.Object
org.apache.maven.internal.transformation.impl.TransformedArtifactHandler
- All Implemented Interfaces:
ArtifactHandler
-
Field Summary
FieldsFields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionTransformedArtifactHandler
(String classifier, String extension, String packaging) -
Method Summary
Modifier and TypeMethodDescriptionReturns the default classifier used if a different one is not set in pom.xml.Returns the file name extension of the artifact; e.g.boolean
Deprecated.boolean
-
Field Details
-
classifier
-
extension
-
packaging
-
-
Constructor Details
-
TransformedArtifactHandler
-
-
Method Details
-
getClassifier
Description copied from interface:ArtifactHandler
Returns the default classifier used if a different one is not set in pom.xml.- Specified by:
getClassifier
in interfaceArtifactHandler
- Returns:
- the classifier
-
getDirectory
- Specified by:
getDirectory
in interfaceArtifactHandler
-
getExtension
Description copied from interface:ArtifactHandler
Returns the file name extension of the artifact; e.g. "jar", "pom", "xml", etc.- Specified by:
getExtension
in interfaceArtifactHandler
- Returns:
- the file extension
-
getLanguage
- Specified by:
getLanguage
in interfaceArtifactHandler
-
getPackaging
- Specified by:
getPackaging
in interfaceArtifactHandler
-
isAddedToClasspath
Deprecated.Description copied from interface:ArtifactHandler
Specifies if the artifact contains java classes and can be added to the classpath. Whether the artifact should be added to the classpath depends on other dependency properties.- Specified by:
isAddedToClasspath
in interfaceArtifactHandler
- Returns:
- if the artifact can be added to the class path
-
isIncludesDependencies
public boolean isIncludesDependencies()- Specified by:
isIncludesDependencies
in interfaceArtifactHandler
-