public class ArtifactReference extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
artifactId
The Artifact ID of the repository content.
|
private String |
classifier
The classifier for this artifact.
|
private String |
groupId
The Group ID of the repository content.
|
private static long |
serialVersionUID |
private String |
type
The type of artifact.
|
private String |
version
The version of the repository content.
|
Constructor and Description |
---|
ArtifactReference() |
Modifier and Type | Method and Description |
---|---|
private static String |
defaultString(String value) |
boolean |
equals(Object obj) |
String |
getArtifactId()
Get the Artifact ID of the repository content.
|
String |
getClassifier()
Get the classifier for this artifact.
|
String |
getGroupId()
Get the Group ID of the repository content.
|
String |
getType()
Get the type of artifact.
|
String |
getVersion()
Get the version of the repository content.
|
int |
hashCode() |
void |
setArtifactId(String artifactId)
Set the Artifact ID of the repository content.
|
void |
setClassifier(String classifier)
Set the classifier for this artifact.
|
void |
setGroupId(String groupId)
Set the Group ID of the repository content.
|
void |
setType(String type)
Set the type of artifact.
|
void |
setVersion(String version)
Set the version of the repository content.
|
static String |
toKey(ArtifactReference artifactReference) |
static String |
toVersionlessKey(ArtifactReference artifactReference) |
private String artifactId
private String classifier
private static final long serialVersionUID
public ArtifactReference()
public String getArtifactId()
public String getClassifier()
public String getGroupId()
public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setClassifier(String classifier)
classifier
- public void setGroupId(String groupId)
groupId
- public void setVersion(String version)
version
- private static String defaultString(String value)
public static String toKey(ArtifactReference artifactReference)
public static String toVersionlessKey(ArtifactReference artifactReference)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.