- Type Parameters:
T
- the report typeR
- the report result typeP
- the report parameters type
- All Known Subinterfaces:
JRReportType
public interface ReportType<T,R,P>
Identifies a report.
A factory for
ReportType
instances.-
Method Summary
Modifier and TypeMethodDescriptionFills the given report.name()
static <T,
R, P> ReportType<T, R, P> reportType
(String name) Instantiates a new Report instance with the given name.
-
Method Details
-
name
String name()- Returns:
- the report name
-
fill
Fills the given report.- Parameters:
report
- the report to fillconnection
- the connection to useparameters
- the report parameters- Returns:
- a report result
- Throws:
ReportException
- in case of an exception
-
reportType
Instantiates a new Report instance with the given name.- Type Parameters:
T
- the report typeR
- the report result typeP
- the report parameters type- Parameters:
name
- the report name- Returns:
- a report
-