public class ArchivaArtifact extends Object
Modifier and Type | Field and Description |
---|---|
private String |
baseVersion |
private ArchivaArtifactModel |
model |
private ArchivaArtifactPlatformDetails |
platformDetails |
private static int |
PRIME |
Constructor and Description |
---|
ArchivaArtifact(ArchivaArtifactModel artifactModel) |
ArchivaArtifact(ArtifactReference ref,
String repositoryId) |
ArchivaArtifact(String groupId,
String artifactId,
String version,
String classifier,
String type,
String repositoryId) |
Modifier and Type | Method and Description |
---|---|
private void |
appendArtifactTypeClassifierString(StringBuilder sb) |
private boolean |
empty(String value) |
boolean |
equals(Object obj) |
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getClassifier() |
String |
getGroupId() |
ArchivaArtifactModel |
getModel() |
ArchivaArtifactPlatformDetails |
getPlatformDetails() |
String |
getRepositoryId() |
String |
getType() |
String |
getVersion() |
boolean |
hasClassifier() |
int |
hashCode() |
boolean |
isSnapshot() |
void |
setPlatformDetails(ArchivaArtifactPlatformDetails platformDetails) |
String |
toString() |
private ArchivaArtifactModel model
private ArchivaArtifactPlatformDetails platformDetails
private String baseVersion
private static final int PRIME
public ArchivaArtifact(String groupId, String artifactId, String version, String classifier, String type, String repositoryId)
public ArchivaArtifact(ArchivaArtifactModel artifactModel)
public ArchivaArtifact(ArtifactReference ref, String repositoryId)
public ArchivaArtifactModel getModel()
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getBaseVersion()
public boolean isSnapshot()
public String getClassifier()
public boolean hasClassifier()
public String getRepositoryId()
private void appendArtifactTypeClassifierString(StringBuilder sb)
public ArchivaArtifactPlatformDetails getPlatformDetails()
public void setPlatformDetails(ArchivaArtifactPlatformDetails platformDetails)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.