Package com.atlassian.jira.user
Interface UserIssueRelevance
- All Superinterfaces:
Comparable<UserIssueRelevance>
- All Known Implementing Classes:
ImmutableUserIssueRelevance
Represents a user's relevancy to an issue.
Implements the Comparable
interface, so that users can be sorted
according to relevancy.
Also exposes the fields used for sorting so that clients can implement their own comparator, or display relevant fields to end-users.
- Since:
- v7.2
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getUser
ApplicationUser getUser()- Returns:
- The user
-
getIssue
Issue getIssue()- Returns:
- The issue
-
getIssueInvolvements
SortedSet<IssueInvolvement> getIssueInvolvements()- Returns:
- The set of involvements the user has with the issue
-
getHighestIssueInvolvementRank
- Returns:
- The highest issue involvement rank from the set of involvements the user has with the issue, where 0 is a closer involvement than 1
-
getLatestCommentCreationTime
- Returns:
- The time of the user's latest comment on the issue, or empty if none
-