Package com.atlassian.jira.issue.link
Class IssueLinkDisplayHelper
java.lang.Object
com.atlassian.jira.issue.link.IssueLinkDisplayHelper
A simple helper class to help out in how we display issues links
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionIssueLinkDisplayHelper
(UserHistoryManager userHistoryManager, ApplicationUser user) -
Method Summary
Modifier and TypeMethodDescriptiongetSortedIssueLinkTypes
(Collection<IssueLinkType> linkTypes) Sorts the link types into a list of strings (for a combo box) sorted in previous usage order
-
Constructor Details
-
IssueLinkDisplayHelper
-
-
Method Details
-
getSortedIssueLinkTypes
Sorts the link types into a list of strings (for a combo box) sorted in previous usage order- Parameters:
linkTypes
- the collection of link types to sort- Returns:
- the list of link types sorted by previous preference
-
getLastUsedLinkType
- Returns:
- the issue link type that was last used by this user
-