public class ImmutableUserIssueRelevance extends Object implements UserIssueRelevance
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableUserIssueRelevance.IssueUserBuilder |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UserIssueRelevance o)
Order by highest involvement, then by latest comment date, then by
username.
|
Optional<Integer> |
getHighestIssueInvolvementRank() |
Issue |
getIssue() |
SortedSet<IssueInvolvement> |
getIssueInvolvements() |
Optional<Date> |
getLatestCommentCreationTime() |
ApplicationUser |
getUser() |
public ApplicationUser getUser()
getUser
in interface UserIssueRelevance
public Issue getIssue()
getIssue
in interface UserIssueRelevance
public SortedSet<IssueInvolvement> getIssueInvolvements()
getIssueInvolvements
in interface UserIssueRelevance
public Optional<Integer> getHighestIssueInvolvementRank()
getHighestIssueInvolvementRank
in interface UserIssueRelevance
public Optional<Date> getLatestCommentCreationTime()
getLatestCommentCreationTime
in interface UserIssueRelevance
public int compareTo(UserIssueRelevance o)
Note: can only compare relevancy of users for the same issue.
compareTo
in interface Comparable<UserIssueRelevance>
o
- The object we're comparing toCopyright © 2002-2019 Atlassian. All Rights Reserved.