@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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrettyDuration(String duration) |
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, isDisplayActionAllTabpublic WorklogAction(IssueTabPanelModuleDescriptor descriptor, Worklog worklog, JiraDurationUtils jiraDurationUtils, boolean canEditWorklog, boolean canDeleteWorklog, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, Locale locale, UserFormats userFormats)
public Date getTimePerformed()
IssueActiongetTimePerformed in interface IssueActiongetTimePerformed in class AbstractIssueActionUnsupportedOperationException if there
is no timestamp (say for generic messages)IssueActionComparatorprotected void populateVelocityParams(Map params)
populateVelocityParams in class AbstractIssueActionpublic Worklog getWorklog()
public boolean isCanDeleteWorklog()
public boolean isCanEditWorklog()
Copyright © 2002-2018 Atlassian. All Rights Reserved.