@Named public class DeveloperWorkloadReport extends AbstractReport
AbstractReport.MutableLongdescriptor| Constructor and Description |
|---|
DeveloperWorkloadReport(ProjectManager projectManager,
ApplicationProperties applicationProperties,
UserManager userManager,
SearchService searchService,
ReportSubTaskFetcher reportSubTaskFetcher) |
| Modifier and Type | Method and Description |
|---|---|
String |
formatPrettyDuration(Number v)
this formatting function is shared by the full view for navigator as well as view issue.
|
String |
generateReportHtml(ProjectActionSupport action,
Map reqParams)
Generate the report's HTML - usually from the Velocity resource named "html".
|
String |
getProjectName(Long projectId) |
Long |
getTotalIssuesCount(Map<Long,AbstractReport.MutableLong> countMap) |
Long |
getTotalWorkload(Map<Long,AbstractReport.MutableLong> workloadMap) |
boolean |
showReport()
Whether or not to show this report in the interface.
|
void |
validate(ProjectActionSupport action,
Map params)
Validate the parameters passed to this report from the UI.
|
generateReportExcel, getDescriptor, getIssueConstant, init, isExcelViewSupported@Inject public DeveloperWorkloadReport(ProjectManager projectManager, ApplicationProperties applicationProperties, UserManager userManager, SearchService searchService, ReportSubTaskFetcher reportSubTaskFetcher)
public boolean showReport()
AbstractReportshowReport in interface ReportshowReport in class AbstractReportpublic void validate(ProjectActionSupport action, Map params)
ReportAny errors should be added to the action errors.
validate in interface Reportvalidate in class AbstractReportpublic String generateReportHtml(ProjectActionSupport action, Map reqParams) throws Exception
ReportExceptionpublic String formatPrettyDuration(Number v)
v - duration in secondspublic Long getTotalIssuesCount(Map<Long,AbstractReport.MutableLong> countMap)
public Long getTotalWorkload(Map<Long,AbstractReport.MutableLong> workloadMap)
Copyright © 2002-2021 Atlassian. All Rights Reserved.