ro.nextreports.engine
Interface Runner

Package class diagram package Runner
Package class diagram package Runner
All Known Implementing Classes:
ChartRunner, ReportRunner

public interface Runner

User: mihai.panaitescu Date: 08-Apr-2010 Time: 14:05:53


Method Summary
 ro.nextreports.engine.exporter.util.AlarmData getAlarmData()
          Get alarm data ALARM exporter
 ro.nextreports.engine.exporter.util.IndicatorData getIndicatorData()
          Get indicator data INDICATOR exporter
 ro.nextreports.engine.exporter.util.TableData getTableData()
          Get table data TABLE exporter
 boolean run()
          Export to TABLE memory format
 boolean run(java.io.OutputStream stream)
          Export to the specified output format
 

Method Detail

run

boolean run()
            throws ReportRunnerException,
                   ro.nextreports.engine.exporter.exception.NoDataFoundException,
                   java.lang.InterruptedException
Export to TABLE memory format

Returns:
true if export process finished, or false if export process was stopped
Throws:
ReportRunnerException - if Runner object is not correctly configured
ro.nextreports.engine.exporter.exception.NoDataFoundException - if no data
java.lang.InterruptedException - if process was interrupted

run

boolean run(java.io.OutputStream stream)
            throws ReportRunnerException,
                   ro.nextreports.engine.exporter.exception.NoDataFoundException,
                   java.lang.InterruptedException
Export to the specified output format

Parameters:
stream - output stream to write
Returns:
true if export process finished, or false if export process was stopped
Throws:
ReportRunnerException - if Runner object is not correctly configured
ro.nextreports.engine.exporter.exception.NoDataFoundException - if no data
java.lang.InterruptedException - if process was interrupted

getTableData

ro.nextreports.engine.exporter.util.TableData getTableData()
Get table data TABLE exporter

Returns:
table data for TABLE exporter

getAlarmData

ro.nextreports.engine.exporter.util.AlarmData getAlarmData()
Get alarm data ALARM exporter

Returns:
alarm data for ALARM exporter

getIndicatorData

ro.nextreports.engine.exporter.util.IndicatorData getIndicatorData()
Get indicator data INDICATOR exporter

Returns:
indicator data for INDICATOR exporter