public interface ReportService
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumer(ReportServiceConsumer consumer)
Adds a
ReportServiceConsumer that consumes ReportEntities. |
void |
clearReports()
Deprecated.
Calling this method doesn't have any effect. It will also be removed with the next release.
|
List<AbstractReport> |
getReports()
Deprecated.
If you want to track all reports use
addConsumer(ReportServiceConsumer), in order to add an
report use report(AbstractReport). This method will be removed with the next release. |
void |
removeConsumer(ReportServiceConsumer consumer)
Removes a
ReportServiceConsumer. |
void |
report(AbstractReport reportEntity)
Report an
AbstractReport to the service. |
void report(AbstractReport reportEntity)
AbstractReport to the service.reportEntity - the report entity@Deprecated List<AbstractReport> getReports()
addConsumer(ReportServiceConsumer), in order to add an
report use report(AbstractReport). This method will be removed with the next release.@Deprecated void clearReports()
void addConsumer(ReportServiceConsumer consumer)
ReportServiceConsumer that consumes ReportEntities.consumer - a ReportServiceConsumervoid removeConsumer(ReportServiceConsumer consumer)
ReportServiceConsumer.consumer - the consumer to be removedCopyright © 2020. All rights reserved.