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

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
 java.lang.String generateReportHtml(ProjectActionSupport action, java.util.Map reqParams)
          Generate the report's HTML - usually from the Velocity resource named "html".
 void validate(ProjectActionSupport action, java.util.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,
                     java.util.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 java.lang.String generateReportHtml(ProjectActionSupport action,
                                           java.util.Map reqParams)
                                    throws java.lang.Exception
Description copied from interface: Report
Generate the report's HTML - usually from the Velocity resource named "html".

Throws:
java.lang.Exception


Copyright © 2002-2010 Atlassian. All Rights Reserved.