public class ArtifactWithWeight extends Object implements Comparable<ArtifactWithWeight>
| Modifier and Type | Field and Description | 
|---|---|
protected NuxeoArtifact | 
artifact  | 
protected int | 
hits  | 
| Constructor and Description | 
|---|
ArtifactWithWeight(NuxeoArtifact artifact)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addHit()  | 
int | 
compareTo(ArtifactWithWeight other)  | 
NuxeoArtifact | 
getArtifact()  | 
int | 
getHitNumbers()  | 
protected final NuxeoArtifact artifact
protected int hits
public ArtifactWithWeight(NuxeoArtifact artifact)
public NuxeoArtifact getArtifact()
public int getHitNumbers()
public void addHit()
public int compareTo(ArtifactWithWeight other)
compareTo in interface Comparable<ArtifactWithWeight>Copyright © 2019 Nuxeo. All rights reserved.