Package io.quarkus.maven.dependency
Interface ArtifactKey
- All Superinterfaces:
Comparable<ArtifactKey>
- All Known Implementing Classes:
ArtifactKey,GACT
-
Method Summary
Modifier and TypeMethodDescriptiondefault intcompareTo(ArtifactKey that) static ArtifactKeyfromString(String s) static ArtifactKeyCreates an artifact key that consists of an artifact's groupId and artifactId.static ArtifactKeyDeprecated, for removal: This API element is subject to removal in a future version.static ArtifactKeyDeprecated, for removal: This API element is subject to removal in a future version.in favor ofof(String, String, String, String)Creates an artifact key for a given groupId:artifactId:classifier:typegetType()static ArtifactKeyCreates an artifact key for a JAR artifact with the given groupId and artifactId.static ArtifactKeydefault String
-
Method Details
-
fromString
-
of
-
of
Creates an artifact key for a JAR artifact with the given groupId and artifactId. The classifier will be empty and the type will be "jar".- Parameters:
groupId- artifact groupIdartifactId- artifact id- Returns:
- artifact key for a JAR artifact
-
ga
Creates an artifact key that consists of an artifact's groupId and artifactId. The classifier and type will be left empty.- Parameters:
groupId- artifact groupIdartifactId- 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 anulltype.- Parameters:
groupId- artifact groupIdartifactId- artifact idclassifier- 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 ofof(String, String, String, String)Creates an artifact key for a given groupId:artifactId:classifier:type- Parameters:
groupId- artifact groupIdartifactId- artifact idclassifier- artifact classifiertype- artifact type- Returns:
- artifact key
-
getGroupId
String getGroupId() -
getArtifactId
String getArtifactId() -
getClassifier
String getClassifier() -
getType
String getType() -
toGacString
-
compareTo
- Specified by:
compareToin interfaceComparable<ArtifactKey>
-
nulltype.