Class ContentEntityEdgeTargetInfo
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.model.ContentEntityEdgeTargetInfo
-
- All Implemented Interfaces:
EdgeTargetInfo
,Comparable<ContentEntityEdgeTargetInfo>
public class ContentEntityEdgeTargetInfo extends Object implements EdgeTargetInfo, Comparable<ContentEntityEdgeTargetInfo>
-
-
Constructor Summary
Constructors Constructor Description ContentEntityEdgeTargetInfo(String edgeTargetType, ContentEntityObjectId targetId, float score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ContentEntityEdgeTargetInfo o)
float
getScore()
ContentEntityObjectId
getTargetId()
String
getTargetType()
void
incrementScore(float score)
String
toString()
-
-
-
Constructor Detail
-
ContentEntityEdgeTargetInfo
public ContentEntityEdgeTargetInfo(String edgeTargetType, ContentEntityObjectId targetId, float score)
-
-
Method Detail
-
getTargetType
public String getTargetType()
- Specified by:
getTargetType
in interfaceEdgeTargetInfo
-
getTargetId
public ContentEntityObjectId getTargetId()
- Specified by:
getTargetId
in interfaceEdgeTargetInfo
-
getScore
public float getScore()
- Specified by:
getScore
in interfaceEdgeTargetInfo
-
incrementScore
public void incrementScore(float score)
-
compareTo
public int compareTo(ContentEntityEdgeTargetInfo o)
- Specified by:
compareTo
in interfaceComparable<ContentEntityEdgeTargetInfo>
-
-