Interface UserIssueRelevance

All Superinterfaces:
Comparable<UserIssueRelevance>
All Known Implementing Classes:
ImmutableUserIssueRelevance

public interface UserIssueRelevance extends Comparable<UserIssueRelevance>
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 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

      Optional<Integer> 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

      Optional<Date> getLatestCommentCreationTime()
      Returns:
      The time of the user's latest comment on the issue, or empty if none