Interface ArtifactKey

All Known Implementing Classes:
AppArtifactKey, ArtifactKey, GACT

public interface ArtifactKey
  • Method Details

    • fromString

      static ArtifactKey fromString(String s)
    • of

      static ArtifactKey of(String groupId, String artifactId, String classifier, String type)
    • ga

      static ArtifactKey ga(String groupId, String artifactId)
      Creates an artifact key that consists of an artifact's groupId and artifactId. The classifier and type will be left empty.
      Parameters:
      groupId - artifact groupId
      artifactId - artifact id
      Returns:
      artifact key that consists of an artifact's groupId and artifactId
    • gac

      @Deprecated(forRemoval=true) static ArtifactKey gac(String groupId, String artifactId, String classifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates an artifact key that consists of groupId:artifactId:classifer and a null type.
      Parameters:
      groupId - artifact groupId
      artifactId - artifact id
      classifier - artifact classifier
      Returns:
      artifact key
    • gact

      @Deprecated(forRemoval=true) static ArtifactKey gact(String groupId, String artifactId, String classifier, String type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      in favor of of(String, String, String, String) Creates an artifact key for a given groupId:artifactId:classifier:type
      Parameters:
      groupId - artifact groupId
      artifactId - artifact id
      classifier - artifact classifier
      type - artifact type
      Returns:
      artifact key
    • getGroupId

      String getGroupId()
    • getArtifactId

      String getArtifactId()
    • getClassifier

      String getClassifier()
    • getType

      String getType()
    • toGacString

      default String toGacString()