|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An engine task that runs a report and generates a report document.
Method Summary | |
void |
run(org.eclipse.birt.core.archive.IDocArchiveWriter archive)
|
void |
run(java.lang.String reportDocName)
runs the task to generate report document |
void |
setPageHandler(IPageHandler callback)
set up event handler to be called after each page is generated |
Methods inherited from interface org.eclipse.birt.report.engine.api.IEngineTask |
addScriptableJavaObject, close, getAppContext, getEngine, getID, getLocale, getParameterValue, getParameterValues, getReportRunnable, setAppContext, setLocale, setParameterValue, setParameterValues, validateParameters |
Method Detail |
public void setPageHandler(IPageHandler callback)
callback
- a callback function that is called after each checkpointpublic void run(java.lang.String reportDocName) throws EngineException
reportDocName
- the name for the report document file
EngineException
- throws exception when running report failspublic void run(org.eclipse.birt.core.archive.IDocArchiveWriter archive) throws EngineException
archive
- a document archive object that supports various doc-related functionalities
EngineException
- throws exception when running report fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |