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 ArtifactKey
fromString(String s)
static ArtifactKey
ga(String groupId, String artifactId)
Creates an artifact key that consists of an artifact's groupId and artifactId.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 anull
type.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:typeString
getArtifactId()
String
getClassifier()
String
getGroupId()
String
getType()
static ArtifactKey
of(String groupId, String artifactId, String classifier, String type)
default String
toGacString()
-
-
-
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 anull
type.- 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()
-
-