Checking the status of a running report task
The BIRT Report Engine supports checking the status of any engine task and cancelling that task. Typically, an application uses a separate thread to perform these actions. To check the status of a running report, use the EngineTask.getStatus( ) method, which returns one of the following values:
*IEngineTask.STATUS_NOT_STARTED. The task has not started.
*IEngineTask.STATUS_RUNNING. The task is currently running.
*IEngineTask.STATUS_SUCCEEDED. The task completed with no errors.
*IEngineTask.STATUS_FAILED. The task failed to execute.
*IEngineTask.STATUS_CANCELLED. The task was cancelled.