public class ChangeHistoryTabPanel extends AbstractIssueTabPanel
descriptor| Constructor and Description |
|---|
ChangeHistoryTabPanel(ChangeHistoryManager changeHistoryManager,
AttachmentManager attachmentManager,
JiraDurationUtils jiraDurationUtils,
CustomFieldManager customFieldManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
DateTimeFieldChangeLogHelper changeLogHelper,
UserFormatManager userFormatManager,
I18nHelper i18nHelper,
JiraAuthenticationContext authenticationContext,
AvatarService avatarService,
HistoryMetadataManager historyMetadataManager,
HistoryMetadataRenderHelper historyMetadataRenderHelper) |
| Modifier and Type | Method and Description |
|---|---|
List<IssueAction> |
getActions(Issue issue,
ApplicationUser remoteUser)
Return a list of issue actions in the order that you want them to be displayed.
|
boolean |
showPanel(Issue issue,
ApplicationUser remoteUser)
Whether or not to show this tab panel to the given User for the given Issue.
|
initpublic ChangeHistoryTabPanel(ChangeHistoryManager changeHistoryManager, AttachmentManager attachmentManager, JiraDurationUtils jiraDurationUtils, CustomFieldManager customFieldManager, DateTimeFormatterFactory dateTimeFormatterFactory, DateTimeFieldChangeLogHelper changeLogHelper, UserFormatManager userFormatManager, I18nHelper i18nHelper, JiraAuthenticationContext authenticationContext, AvatarService avatarService, HistoryMetadataManager historyMetadataManager, HistoryMetadataRenderHelper historyMetadataRenderHelper)
public List<IssueAction> getActions(Issue issue, ApplicationUser remoteUser)
IssueTabPanel Note that for the 'all' tab,
they will be displayed in order according to the value returned by IssueAction.getTimePerformed().
The user that is viewing the tab can affect which objects are shown, as well as which operations are available on each.
issue - The Issue that the objects belong to.remoteUser - The user viewing this tab.IssueAction objects.public boolean showPanel(Issue issue, ApplicationUser remoteUser)
IssueTabPanelissue - The Issue.remoteUser - The viewing user.true if we should show this tab panel to the given User for the given Issue.Copyright © 2002-2019 Atlassian. All Rights Reserved.