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 class
This 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 ReportModuleDescriptor
getIssueConstant
(org.ofbiz.core.entity.GenericValue issueConstantGV) void
init
(ReportModuleDescriptor descriptor) Initialise this report, given the report's module descriptor.boolean
By default, reports do not have an Excel view.boolean
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Report
Initialise this report, given the report's module descriptor.This method is run immediately after the report is constructed.
-
validate
Description copied from interface:Report
Validate 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:
isExcelViewSupported
in interfaceReport
-
generateReportExcel
By default, will throw an UnsuppportedOperationException as reports don't support Excel by default.- Specified by:
generateReportExcel
in interfaceReport
- Throws:
Exception
-
showReport
public boolean showReport()Whether or not to show this report in the interface. The default is "true".- Specified by:
showReport
in interfaceReport
-
getDescriptor
-
getIssueConstant
-