Class AbstractReport
java.lang.Object
com.atlassian.jira.plugin.report.impl.AbstractReport
- All Implemented Interfaces:
Report
- Direct Known Subclasses:
AbstractChartReport,DeveloperWorkloadReport,FieldTestReport,ReferenceReport,SingleLevelGroupByReport,TimeTrackingReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis utility class is much like an AtomicLong, but it does not have the thread-safety guarantees and overhead of that class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateReportExcel(ProjectActionSupport action, Map params) By default, will throw an UnsuppportedOperationException as reports don't support Excel by default.protected ReportModuleDescriptorgetIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV) voidinit(ReportModuleDescriptor descriptor) Initialise this report, given the report's module descriptor.booleanBy default, reports do not have an Excel view.booleanWhether or not to show this report in the interface.voidvalidate(ProjectActionSupport action, Map params) Validate the parameters passed to this report from the UI.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.plugin.report.Report
generateReportHtml
-
Field Details
-
descriptor
-
-
Constructor Details
-
AbstractReport
public AbstractReport()
-
-
Method Details
-
init
Description copied from interface:ReportInitialise this report, given the report's module descriptor.This method is run immediately after the report is constructed.
-
validate
Description copied from interface:ReportValidate the parameters passed to this report from the UI.Any errors should be added to the action errors.
-
isExcelViewSupported
public boolean isExcelViewSupported()By default, reports do not have an Excel view.- Specified by:
isExcelViewSupportedin interfaceReport
-
generateReportExcel
By default, will throw an UnsuppportedOperationException as reports don't support Excel by default.- Specified by:
generateReportExcelin interfaceReport- Throws:
Exception
-
showReport
public boolean showReport()Whether or not to show this report in the interface. The default is "true".- Specified by:
showReportin interfaceReport
-
getDescriptor
-
getIssueConstant
-