|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.plugin.report.impl.AbstractReport
com.atlassian.jira.plugin.report.impl.TimeTrackingReport
public class TimeTrackingReport
| Nested Class Summary | |
|---|---|
class |
TimeTrackingReport.Totals
|
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport |
|---|
descriptor |
| Constructor Summary | |
|---|---|
TimeTrackingReport(VersionManager versionManager,
ApplicationProperties applicationProperties,
ConstantsManager constantsManager,
JiraDurationUtils jiraDurationUtils,
SearchProvider searchProvider,
BuildUtilsInfo buildUtilsInfo)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport |
|---|
getDescriptor, getIssueConstant, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeTrackingReport(VersionManager versionManager,
ApplicationProperties applicationProperties,
ConstantsManager constantsManager,
JiraDurationUtils jiraDurationUtils,
SearchProvider searchProvider,
BuildUtilsInfo buildUtilsInfo)
| Method Detail |
|---|
public boolean showReport()
AbstractReport
showReport in interface ReportshowReport in class AbstractReport
public String generateReportHtml(ProjectActionSupport action,
Map reqParams)
throws Exception
Report
Exception
public String generateReportExcel(ProjectActionSupport action,
Map reqParams)
throws Exception
AbstractReport
generateReportExcel in interface ReportgenerateReportExcel in class AbstractReportExceptionpublic boolean isExcelViewSupported()
AbstractReport
isExcelViewSupported in interface ReportisExcelViewSupported in class AbstractReport
public 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 for
public int getCompletionPercentage()
public int getAccuracyPercentage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||