Class RankableImpl
java.lang.Object
com.atlassian.greenhopper.service.rank.RankableImpl
- All Implemented Interfaces:
Rankable
Rankable implementation.
DO NOT DIRECTLY INSTANTIATE - use RankableFactory instead!
-
Constructor Summary
ConstructorsConstructorDescriptionRankableImpl
(RankableObject rankableObject) RankableImpl
(com.atlassian.jira.issue.Issue issue) RankableImpl
(String type, Long id) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getId()
com.atlassian.jira.issue.Issue
getIssue()
long
Get the id used in the rank index For now the rank index does not contain information about the type, as a result we use negative ids for rankableobject, positive ids for issuesgetType()
int
hashCode()
boolean
isIssue()
boolean
boolean
void
setIssue
(com.atlassian.jira.issue.Issue issue) void
setIssueLoaded
(boolean issueLoaded)
-
Constructor Details
-
RankableImpl
-
RankableImpl
public RankableImpl(com.atlassian.jira.issue.Issue issue) -
RankableImpl
-
-
Method Details
-
getId
public long getId() -
getType
-
getRankableObject
-
getIssue
public com.atlassian.jira.issue.Issue getIssue() -
isIssue
public boolean isIssue() -
isRankableObject
public boolean isRankableObject() -
getRankIndexId
public long getRankIndexId()Get the id used in the rank index For now the rank index does not contain information about the type, as a result we use negative ids for rankableobject, positive ids for issues -
setIssue
public void setIssue(com.atlassian.jira.issue.Issue issue) -
isIssueLoaded
public boolean isIssueLoaded() -
setIssueLoaded
public void setIssueLoaded(boolean issueLoaded) -
equals
-
hashCode
public int hashCode()
-