Interface ID


@ProviderType public interface ID
ID used to denote an artifact. This could be a feature model, a bundle which is part of the feature model or some other artifact.

Artifact IDs follow the Maven convention of having:

  • A group ID
  • An artifact ID
  • A version
  • A type identifier (optional)
  • A classifier (optional)
"ThreadSafe"
  • Field Details

  • Method Details

    • getGroupId

      String getGroupId()
      Get the group ID.
      Returns:
      The group ID.
    • getArtifactId

      String getArtifactId()
      Get the artifact ID.
      Returns:
      The artifact ID.
    • getVersion

      String getVersion()
      Get the version.
      Returns:
      The version.
    • getType

      Optional<String> getType()
      Get the type identifier.
      Returns:
      The type identifier.
    • getClassifier

      Optional<String> getClassifier()
      Get the classifier.
      Returns:
      The classifier.
    • toString

      String toString()
      This method returns the ID using the following syntax:

      groupId ':' artifactId ( ':' type ( ':' classifier )? )? ':' version

      Overrides:
      toString in class Object
      Returns:
      The string representation.