Class DefaultType

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

@Deprecated(since="4.0.0") public class DefaultType extends Object implements Type, org.eclipse.aether.artifact.ArtifactType
Deprecated.
since 4.0.0, use maven-api-impl jar instead
Default implementation of Type and Resolver ArtifactType.
Since:
4.0.0
  • Constructor Details

    • DefaultType

      public DefaultType(String id, Language language, String extension, String classifier, boolean includesDependencies, PathType... pathTypes)
      Deprecated.
  • Method Details

    • id

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

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

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

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

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

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

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

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