Package org.osgi.service.feature
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 Summary
-
Method Summary
-
Field Details
-
FEATURE_ID_TYPE
ID type for use with Features.- See Also:
-
-
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
Get the type identifier.- Returns:
- The type identifier.
-
getClassifier
Get the classifier.- Returns:
- The classifier.
-
toString
String toString()This method returns the ID using the following syntax:groupId ':' artifactId ( ':' type ( ':' classifier )? )? ':' version
-