Class PieReport
java.lang.Object
com.atlassian.jira.plugin.report.impl.AbstractReport
com.atlassian.jira.charts.report.AbstractChartReport
com.atlassian.jira.plugin.corereports.charts.report.PieReport
- All Implemented Interfaces:
Report
A report showing a pie chart by any single field of the issues for a given project or search request.
- Since:
- v4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
AbstractReport.MutableLong -
Field Summary
Fields inherited from class com.atlassian.jira.charts.report.AbstractChartReport
applicationProperties, authenticationContext, chartUtilsFields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
descriptor -
Constructor Summary
ConstructorsConstructorDescriptionPieReport(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ProjectManager projectManager, SearchRequestService searchRequestService, ChartUtils chartUtils, ChartFactory chartFactory) -
Method Summary
Modifier and TypeMethodDescriptiongenerateReportHtml(ProjectActionSupport action, Map reqParams) Generate the report's HTML - usually from the Velocity resource named "html".voidvalidate(ProjectActionSupport action, Map params) Validate the parameters passed to this report from the UI.Methods inherited from class com.atlassian.jira.charts.report.AbstractChartReport
validateDaysPrevious, validateProjectOrFilterIdMethods inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
generateReportExcel, getDescriptor, getIssueConstant, init, isExcelViewSupported, showReport
-
Constructor Details
-
PieReport
@Inject public PieReport(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ProjectManager projectManager, SearchRequestService searchRequestService, ChartUtils chartUtils, ChartFactory chartFactory)
-
-
Method Details
-
validate
Description copied from interface:ReportValidate the parameters passed to this report from the UI.Any errors should be added to the action errors.
- Specified by:
validatein interfaceReport- Overrides:
validatein classAbstractChartReport
-
generateReportHtml
Description copied from interface:ReportGenerate the report's HTML - usually from the Velocity resource named "html".- Throws:
Exception
-