Interface ArtifactType

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getClassifier()
      Gets the classifier to use for artifacts of this type (unless explicitly overridden by the artifact).
      String getExtension()
      Gets the file extension to use for artifacts of this type (unless explicitly overridden by the artifact).
      String getId()
      Gets the identifier of this type, e.g.
      Map<String,​String> getProperties()
      Gets the properties to use for artifacts of this type (unless explicitly overridden by the artifact).
    • Method Detail

      • getId

        String getId()
        Gets the identifier of this type, e.g. "maven-plugin" or "test-jar".
        Returns:
        The identifier of this type, never null.
        See Also:
        ArtifactProperties.TYPE
      • getExtension

        String getExtension()
        Gets the file extension to use for artifacts of this type (unless explicitly overridden by the artifact).
        Returns:
        The usual file extension, never null.
      • getClassifier

        String getClassifier()
        Gets the classifier to use for artifacts of this type (unless explicitly overridden by the artifact).
        Returns:
        The usual classifier or an empty string if none, never null.
      • getProperties

        Map<String,​StringgetProperties()
        Gets the properties to use for artifacts of this type (unless explicitly overridden by the artifact).
        Returns:
        The (read-only) properties, never null.
        See Also:
        ArtifactProperties