Package io.quarkus.maven.dependency
Interface ArtifactKey
-
- All Known Implementing Classes:
AppArtifactKey,ArtifactKey,GACT
public interface ArtifactKey
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static ArtifactKeyfromString(String s)static ArtifactKeyga(String groupId, String artifactId)Creates an artifact key that consists of an artifact's groupId and artifactId.static ArtifactKeygac(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.static ArtifactKeygact(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:typeStringgetArtifactId()StringgetClassifier()StringgetGroupId()StringgetType()static ArtifactKeyof(String groupId, String artifactId, String classifier, String type)default StringtoGacString()
-
-
-
Method Detail
-
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 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
default String toGacString()
-
-