com.atlassian.jira.charts.report
Class PieReport

java.lang.Object
  extended by com.atlassian.jira.plugin.report.impl.AbstractReport
      extended by com.atlassian.jira.charts.report.AbstractChartReport
          extended by com.atlassian.jira.charts.report.PieReport
All Implemented Interfaces:
Report

public class PieReport
extends AbstractChartReport

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, chartUtils
 
Fields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
descriptor
 
Constructor Summary
PieReport(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ProjectManager projectManager, SearchRequestService searchRequestService, ChartUtils chartUtils, ChartFactory chartFactory)
           
 
Method Summary
 String generateReportHtml(ProjectActionSupport action, Map reqParams)
          Generate the report's HTML - usually from the Velocity resource named "html".
 void validate(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, validateProjectOrFilterId
 
Methods inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
generateReportExcel, getDescriptor, getIssueConstant, init, isExcelViewSupported, showReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieReport

public PieReport(JiraAuthenticationContext authenticationContext,
                 ApplicationProperties applicationProperties,
                 ProjectManager projectManager,
                 SearchRequestService searchRequestService,
                 ChartUtils chartUtils,
                 ChartFactory chartFactory)
Method Detail

validate

public void validate(ProjectActionSupport action,
                     Map params)
Description copied from interface: Report
Validate the parameters passed to this report from the UI.

Any errors should be added to the action errors.

Specified by:
validate in interface Report
Overrides:
validate in class AbstractChartReport

generateReportHtml

public String generateReportHtml(ProjectActionSupport action,
                                 Map reqParams)
                          throws Exception
Description copied from interface: Report
Generate the report's HTML - usually from the Velocity resource named "html".

Throws:
Exception


Copyright © 2002-2014 Atlassian. All Rights Reserved.