public class IndexedArtifact extends Object implements Comparable<IndexedArtifact>
Modifier and Type | Field and Description |
---|---|
static Comparator<IndexedArtifactFile> |
FILE_INFO_COMPARATOR |
Constructor and Description |
---|
IndexedArtifact(String group,
String artifact,
String packageName,
String className,
String packaging) |
Modifier and Type | Method and Description |
---|---|
void |
addFile(IndexedArtifactFile indexedArtifactFile) |
int |
compareTo(IndexedArtifact o) |
boolean |
equals(Object artifact)
Assumes all the fields are important for equals.
|
String |
getArtifactId() |
String |
getClassname() |
Set<IndexedArtifactFile> |
getFiles() |
String |
getGroupId() |
String |
getPackageName() |
String |
getPackaging() |
int |
hashCode() |
String |
toString() |
public static final Comparator<IndexedArtifactFile> FILE_INFO_COMPARATOR
public void addFile(IndexedArtifactFile indexedArtifactFile)
public String getPackageName()
public String getGroupId()
public String getArtifactId()
public String getPackaging()
public String getClassname()
public Set<IndexedArtifactFile> getFiles()
public boolean equals(Object artifact)
public int compareTo(IndexedArtifact o)
compareTo
in interface Comparable<IndexedArtifact>
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.