Class DefaultType

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

public class DefaultType extends Object implements Type, org.eclipse.aether.artifact.ArtifactType
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Description copied from interface: Type
      Returns the dependency type id. The id uniquely identifies this dependency type.
      Specified by:
      getId in interface org.eclipse.aether.artifact.ArtifactType
      Specified by:
      getId in interface Type
      Returns:
      the id of this type, never null.
    • getLanguage

      public String getLanguage()
      Description copied from interface: Type
      Returns the dependency type language.
      Specified by:
      getLanguage in interface Type
      Returns:
      the language of this type, never null.
    • getExtension

      public String getExtension()
      Description copied from interface: Type
      Get the file extension of artifacts of this type.
      Specified by:
      getExtension in interface org.eclipse.aether.artifact.ArtifactType
      Specified by:
      getExtension in interface Type
      Returns:
      the file extension, never null.
    • getClassifier

      public String getClassifier()
      Description copied from interface: Type
      Get the default classifier associated to the dependency type. The default classifier can be overridden when specifying the Dependency.getClassifier().
      Specified by:
      getClassifier in interface org.eclipse.aether.artifact.ArtifactType
      Specified by:
      getClassifier in interface Type
      Returns:
      the default classifier, or null.
    • getDependencyProperties

      public DependencyProperties getDependencyProperties()
      Description copied from interface: Type
      Gets the default properties associated with this dependency type.
      Specified by:
      getDependencyProperties in interface Type
      Returns:
      the default properties, never null.
    • getProperties

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