Interface ArtifactCoordinate

All Known Subinterfaces:
DependencyCoordinate
All Known Implementing Classes:
DefaultArtifactCoordinate, DefaultDependencyCoordinate

@Experimental @Immutable public interface ArtifactCoordinate
The Coordinate object is used to point to an Artifact but the version may be specified as a range instead of an exact version.
Since:
4.0.0
  • Method Details

    • getGroupId

      @Nonnull String getGroupId()
      The groupId of the artifact.
      Returns:
      the groupId
    • getArtifactId

      @Nonnull String getArtifactId()
      The artifactId of the artifact.
      Returns:
      the artifactId
    • getClassifier

      @Nonnull String getClassifier()
      The classifier of the artifact.
      Returns:
      the classifier or an empty string if none, never null
    • getVersion

      The version of the artifact.
      Returns:
      the version
    • getExtension

      @Nonnull String getExtension()
      The extension of the artifact.
      Returns:
      the extension or an empty string if none, never null
    • getId

      @Nonnull default String getId()
      Unique id identifying this artifact