@Named public class TimeTrackingReport extends AbstractReport
| Modifier and Type | Class and Description |
|---|---|
class |
TimeTrackingReport.Totals |
AbstractReport.MutableLongdescriptor| Constructor and Description |
|---|
TimeTrackingReport(VersionManager versionManager,
ApplicationProperties applicationProperties,
ConstantsManager constantsManager,
SearchService searchService,
BuildUtilsInfo buildUtilsInfo,
ReportSubTaskFetcher reportSubTaskFetcher,
SubTaskManager subTaskManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateReportExcel(ProjectActionSupport action,
Map reqParams)
By default, will throw an UnsuppportedOperationException as reports don't support Excel by default.
|
String |
generateReportHtml(ProjectActionSupport action,
Map reqParams)
Generate the report's HTML - usually from the Velocity resource named "html".
|
int |
getAccuracyPercentage() |
int |
getCompletionPercentage() |
Collection<String> |
getProjectVersionIds(Project project)
Get a collection of all version ids in the selected project
|
boolean |
isExcelViewSupported()
By default, reports do not have an Excel view.
|
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.
|
getDescriptor, getIssueConstant, init@Inject public TimeTrackingReport(VersionManager versionManager, ApplicationProperties applicationProperties, ConstantsManager constantsManager, SearchService searchService, BuildUtilsInfo buildUtilsInfo, ReportSubTaskFetcher reportSubTaskFetcher, SubTaskManager subTaskManager)
public boolean showReport()
AbstractReportshowReport in interface ReportshowReport in class AbstractReportpublic String generateReportHtml(ProjectActionSupport action, Map reqParams) throws Exception
ReportExceptionpublic String generateReportExcel(ProjectActionSupport action, Map reqParams) throws Exception
AbstractReportgenerateReportExcel in interface ReportgenerateReportExcel in class AbstractReportExceptionpublic boolean isExcelViewSupported()
AbstractReportisExcelViewSupported in interface ReportisExcelViewSupported 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 Collection<String> getProjectVersionIds(Project project)
project - project to get the version ids forpublic int getCompletionPercentage()
public int getAccuracyPercentage()
Copyright © 2002-2022 Atlassian. All Rights Reserved.