public class ChangeHistoryAction extends AbstractIssueAction
descriptor
Constructor and Description |
---|
ChangeHistoryAction(IssueTabPanelModuleDescriptor descriptor,
ChangeHistory changeHistory,
boolean showHeader,
AttachmentManager attachmentManager,
JiraDurationUtils jiraDurationUtils,
CustomFieldManager customFieldManager,
DateTimeFormatter formatter,
Issue issue,
DateTimeFieldChangeLogHelper changeLogHelper,
HistoryMetadata historyMetadata,
HistoryMetadataRenderHelper historyMetadataRenderHelper) |
Modifier and Type | Method and Description |
---|---|
String |
formatDateValue(String value,
String string,
String fieldName) |
String |
formatValueStringForDisplay(String value) |
String |
getAuthor() |
List |
getChangeItems() |
String |
getComment() |
Timestamp |
getCreatedDate() |
String |
getCreatedDateHtml() |
String |
getCreatedDateIso8601Html() |
String |
getFullName() |
HistoryMetadata |
getHistoryMetadata() |
Long |
getId() |
String |
getLevel() |
String |
getPrettyDuration(String duration) |
Date |
getTimePerformed()
This is used to sort between IssueAction objects on the 'All' tab.
|
boolean |
isAttachmentValid(String fileId) |
boolean |
isDateField(String fieldName) |
boolean |
isShowHeader() |
protected void |
populateVelocityParams(Map params) |
getHtml, isDisplayActionAllTab
public ChangeHistoryAction(IssueTabPanelModuleDescriptor descriptor, ChangeHistory changeHistory, boolean showHeader, AttachmentManager attachmentManager, JiraDurationUtils jiraDurationUtils, CustomFieldManager customFieldManager, DateTimeFormatter formatter, Issue issue, DateTimeFieldChangeLogHelper changeLogHelper, HistoryMetadata historyMetadata, HistoryMetadataRenderHelper historyMetadataRenderHelper)
public Date getTimePerformed()
IssueAction
getTimePerformed
in interface IssueAction
getTimePerformed
in class AbstractIssueAction
UnsupportedOperationException
if there
is no timestamp (say for generic messages)IssueActionComparator
protected void populateVelocityParams(Map params)
populateVelocityParams
in class AbstractIssueAction
public boolean isShowHeader()
public Long getId()
public String getAuthor()
public String getFullName()
public Timestamp getCreatedDate()
public String getCreatedDateHtml()
public String getCreatedDateIso8601Html()
public String getComment()
public String getLevel()
public List getChangeItems()
public boolean isAttachmentValid(String fileId)
public boolean isDateField(String fieldName)
public HistoryMetadata getHistoryMetadata()
Copyright © 2002-2019 Atlassian. All Rights Reserved.