Package io.quarkus.bootstrap.model
Class AppArtifactCoords
- java.lang.Object
-
- io.quarkus.bootstrap.model.AppArtifactCoords
-
- All Implemented Interfaces:
ArtifactCoords,Serializable
- Direct Known Subclasses:
AppArtifact
public class AppArtifactCoords extends Object implements ArtifactCoords, Serializable
GroupId, artifactId, classifier, type, version- Author:
- Alexey Loubyansky
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringartifactIdprotected Stringclassifierprotected StringgroupIdprotected AppArtifactKeykeyprotected Stringtypestatic StringTYPE_JARstatic StringTYPE_POMprotected Stringversion-
Fields inherited from interface io.quarkus.maven.dependency.ArtifactCoords
DEFAULT_CLASSIFIER
-
-
Constructor Summary
Constructors Modifier Constructor Description AppArtifactCoords(AppArtifactKey key, String version)protectedAppArtifactCoords(String[] parts)AppArtifactCoords(String groupId, String artifactId, String version)AppArtifactCoords(String groupId, String artifactId, String type, String version)AppArtifactCoords(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 AppArtifactCoordsfromString(String str)StringgetArtifactId()StringgetClassifier()StringgetGroupId()AppArtifactKeygetKey()StringgetType()StringgetVersion()inthashCode()protected static String[]split(String str, String[] parts)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.maven.dependency.ArtifactCoords
toCompactCoords, toGACTVString
-
-
-
-
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 AppArtifactKey key
-
-
Method Detail
-
fromString
public static AppArtifactCoords fromString(String str)
-
getGroupId
public String getGroupId()
- Specified by:
getGroupIdin interfaceArtifactCoords
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactIdin interfaceArtifactCoords
-
getClassifier
public String getClassifier()
- Specified by:
getClassifierin interfaceArtifactCoords
-
getType
public String getType()
- Specified by:
getTypein interfaceArtifactCoords
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceArtifactCoords
-
getKey
public AppArtifactKey getKey()
- Specified by:
getKeyin interfaceArtifactCoords
-
append
protected StringBuilder append(StringBuilder buf)
-
-