Class ChangeHistoryAction
java.lang.Object
com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
com.atlassian.jira.issue.tabpanels.ChangeHistoryAction
- All Implemented Interfaces:
IssueAction
This class is the wrapper around the ChangeHistory object and is used when displaying change history in the View
Issue page, on the 'Change History' tab panel.
-
Field Summary
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
descriptor -
Constructor Summary
ConstructorsConstructorDescriptionChangeHistoryAction(IssueTabPanelModuleDescriptor descriptor, ChangeHistory changeHistory, boolean showHeader, AttachmentManager attachmentManager, JiraDurationUtils jiraDurationUtils, CustomFieldManager customFieldManager, DateTimeFormatter formatter, Issue issue, DateTimeFieldChangeLogHelper changeLogHelper, HistoryMetadata historyMetadata, HistoryMetadataRenderHelper historyMetadataRenderHelper, ChangeHistoryUsernameResolver changeHistoryUsernameResolver) -
Method Summary
Modifier and TypeMethodDescriptionformatDateValue(String value, String string, String fieldName) getId()getLevel()getPrettyDuration(String duration) This is used to sort between IssueAction objects on the 'All' tab.booleanisAttachmentValid(String fileId) booleanisDateField(String fieldName) booleanprotected voidpopulateVelocityParams(Map params) Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
getHtml, isDisplayActionAllTab
-
Constructor Details
-
ChangeHistoryAction
public ChangeHistoryAction(IssueTabPanelModuleDescriptor descriptor, ChangeHistory changeHistory, boolean showHeader, AttachmentManager attachmentManager, JiraDurationUtils jiraDurationUtils, CustomFieldManager customFieldManager, DateTimeFormatter formatter, Issue issue, DateTimeFieldChangeLogHelper changeLogHelper, HistoryMetadata historyMetadata, HistoryMetadataRenderHelper historyMetadataRenderHelper, ChangeHistoryUsernameResolver changeHistoryUsernameResolver)
-
-
Method Details
-
getTimePerformed
Description copied from interface:IssueActionThis is used to sort between IssueAction objects on the 'All' tab.- Specified by:
getTimePerformedin interfaceIssueAction- Specified by:
getTimePerformedin classAbstractIssueAction- Returns:
- timestamp of when the issue action was created, or throw
UnsupportedOperationExceptionif there is no timestamp (say for generic messages) - See Also:
-
populateVelocityParams
- Specified by:
populateVelocityParamsin classAbstractIssueAction
-
isShowHeader
public boolean isShowHeader() -
getId
-
getAuthor
-
getFullName
-
getCreatedDate
-
getCreatedDateHtml
-
getCreatedDateIso8601Html
-
getComment
-
getLevel
-
getChangeItems
-
isAttachmentValid
-
isDateField
-
formatDateValue
-
formatValueStringForDisplay
-
getPrettyDuration
-
getHistoryMetadata
-