@NonInjectableComponent public class WorklogAction extends AbstractIssueAction
descriptor
Constructor and Description |
---|
WorklogAction(IssueTabPanelModuleDescriptor descriptor,
Worklog worklog,
JiraDurationUtils jiraDurationUtils,
boolean canEditWorklog,
boolean canDeleteWorklog,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
Locale locale,
UserFormats userFormats,
DateTimeFormatter dateTimeFormatter) |
Modifier and Type | Method and Description |
---|---|
String |
getPrettyDuration(String duration) |
String |
getStartDateHtml() |
String |
getStartDateIso8601Html() |
Date |
getTimePerformed()
This is used to sort between IssueAction objects on the 'All' tab.
|
Worklog |
getWorklog() |
boolean |
isCanDeleteWorklog() |
boolean |
isCanEditWorklog() |
protected void |
populateVelocityParams(Map params) |
getHtml, isDisplayActionAllTab
public WorklogAction(IssueTabPanelModuleDescriptor descriptor, Worklog worklog, JiraDurationUtils jiraDurationUtils, boolean canEditWorklog, boolean canDeleteWorklog, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, Locale locale, UserFormats userFormats, DateTimeFormatter dateTimeFormatter)
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 Worklog getWorklog()
public boolean isCanDeleteWorklog()
public boolean isCanEditWorklog()
public String getStartDateHtml()
public String getStartDateIso8601Html()
Copyright © 2002-2024 Atlassian. All Rights Reserved.