Package io.quarkus.maven
Class ArtifactCoords
- java.lang.Object
-
- io.quarkus.maven.ArtifactCoords
-
- All Implemented Interfaces:
Serializable
public class ArtifactCoords extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description ArtifactCoords(ArtifactKey key, String version)protectedArtifactCoords(String[] parts)ArtifactCoords(String groupId, String artifactId, String version)ArtifactCoords(String groupId, String artifactId, String type, String version)ArtifactCoords(String groupId, String artifactId, String classifier, String type, String version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringBuilderappend(StringBuilder buf)booleanequals(Object o)static ArtifactCoordsfromString(String str)StringgetArtifactId()StringgetClassifier()StringgetGroupId()ArtifactKeygetKey()StringgetType()StringgetVersion()inthashCode()static ArtifactCoordspom(String groupId, String artifactId, String version)protected static String[]split(String str, String[] parts)StringtoString()
-
-
-
Field Detail
-
TYPE_JAR
public static final String TYPE_JAR
- See Also:
- Constant Field Values
-
TYPE_POM
public static final String TYPE_POM
- See Also:
- Constant Field Values
-
groupId
protected final String groupId
-
artifactId
protected final String artifactId
-
classifier
protected final String classifier
-
type
protected final String type
-
version
protected final String version
-
key
protected transient ArtifactKey key
-
-
Method Detail
-
fromString
public static ArtifactCoords fromString(String str)
-
pom
public static ArtifactCoords pom(String groupId, String artifactId, String version)
-
getGroupId
public String getGroupId()
-
getArtifactId
public String getArtifactId()
-
getClassifier
public String getClassifier()
-
getType
public String getType()
-
getVersion
public String getVersion()
-
getKey
public ArtifactKey getKey()
-
append
protected StringBuilder append(StringBuilder buf)
-
-