Class DefaultType

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

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

  • Method Details

    • id

      public String id()
      Specified by:
      id in interface ExtensibleEnum
      Specified by:
      id in interface Type
    • getId

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

      public Language getLanguage()
      Specified by:
      getLanguage in interface Type
    • getExtension

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

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

      public boolean isIncludesDependencies()
      Specified by:
      isIncludesDependencies in interface Type
    • getPathTypes

      public Set<PathType> getPathTypes()
      Specified by:
      getPathTypes in interface Type
    • getProperties

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