Class ArtifactHandlerImpl

java.lang.Object
org.apache.maven.artifact.handler.ArtifactHandlerImpl
All Implemented Interfaces:
org.apache.maven.artifact.handler.ArtifactHandler

public final class ArtifactHandlerImpl extends Object implements org.apache.maven.artifact.handler.ArtifactHandler
Since:
3.10.0
Author:
Brett Porter, Jason van Zyl
  • Field Details

  • Constructor Details

    • ArtifactHandlerImpl

      public ArtifactHandlerImpl(String type, String extension, String classifier, String packaging, boolean includesDependencies, String language, boolean addedToClasspath)
  • Method Details

    • getType

      public String getType()
    • getExtension

      public String getExtension()
      Specified by:
      getExtension in interface org.apache.maven.artifact.handler.ArtifactHandler
    • getClassifier

      public String getClassifier()
      Specified by:
      getClassifier in interface org.apache.maven.artifact.handler.ArtifactHandler
    • getDirectory

      @Deprecated public String getDirectory()
      Deprecated.
      Specified by:
      getDirectory in interface org.apache.maven.artifact.handler.ArtifactHandler
    • getPackaging

      public String getPackaging()
      Specified by:
      getPackaging in interface org.apache.maven.artifact.handler.ArtifactHandler
    • isIncludesDependencies

      public boolean isIncludesDependencies()
      Specified by:
      isIncludesDependencies in interface org.apache.maven.artifact.handler.ArtifactHandler
    • getLanguage

      public String getLanguage()
      Specified by:
      getLanguage in interface org.apache.maven.artifact.handler.ArtifactHandler
    • isAddedToClasspath

      public boolean isAddedToClasspath()
      Specified by:
      isAddedToClasspath in interface org.apache.maven.artifact.handler.ArtifactHandler