Class DefaultType

java.lang.Object
org.apache.maven.repository.internal.type.DefaultType
All Implemented Interfaces:
org.apache.maven.api.ExtensibleEnum, org.apache.maven.api.Type, org.eclipse.aether.artifact.ArtifactType

public class DefaultType extends Object implements org.apache.maven.api.Type, org.eclipse.aether.artifact.ArtifactType
Default implementation of Type and Resolver ArtifactType.
Since:
4.0.0
  • Constructor Details

    • DefaultType

      public DefaultType(String id, org.apache.maven.api.Language language, String extension, String classifier, boolean includesDependencies, org.apache.maven.api.PathType... pathTypes)
  • Method Details

    • id

      public String id()
      Specified by:
      id in interface org.apache.maven.api.ExtensibleEnum
      Specified by:
      id in interface org.apache.maven.api.Type
    • getId

      public String getId()
      Specified by:
      getId in interface org.eclipse.aether.artifact.ArtifactType
    • getLanguage

      public org.apache.maven.api.Language getLanguage()
      Specified by:
      getLanguage in interface org.apache.maven.api.Type
    • getExtension

      public String getExtension()
      Specified by:
      getExtension in interface org.eclipse.aether.artifact.ArtifactType
      Specified by:
      getExtension in interface org.apache.maven.api.Type
    • getClassifier

      public String getClassifier()
      Specified by:
      getClassifier in interface org.eclipse.aether.artifact.ArtifactType
      Specified by:
      getClassifier in interface org.apache.maven.api.Type
    • isIncludesDependencies

      public boolean isIncludesDependencies()
      Specified by:
      isIncludesDependencies in interface org.apache.maven.api.Type
    • getPathTypes

      public Set<org.apache.maven.api.PathType> getPathTypes()
      Specified by:
      getPathTypes in interface org.apache.maven.api.Type
    • getProperties

      public Map<String,String> getProperties()
      Specified by:
      getProperties in interface org.eclipse.aether.artifact.ArtifactType