Interface IProgressMonitor


public interface IProgressMonitor
This interface is to trace the progress of BIRT. As BIRT generates a report, some events are notified of the current status. If a user defined monitor (IProgressMonitor) is set (by IEngineTask.setProgressMonitor()), the monitor is triggered.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    ending of a page
    static final int
    ending of DB query execution
    static final int
    the BIRT task ends event
    static final int
    reading data from DB
    static final int
    start to generate a page
    static final int
    start to execute a DB query
    static final int
    the BIRT task starts event
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(int type, int value)
    The 'type' specifies this progress event and the 'value' specifies a proper value to the event.
  • Field Details

  • Method Details

    • onProgress

      void onProgress(int type, int value)
      The 'type' specifies this progress event and the 'value' specifies a proper value to the event. It's like:
      event type event value
      START_TASK task type, see IEngineTask
      END_TASK task type, see IEngineTask
      START_PAGE page number
      END_PAGE page number
      START_QUERY the ID of the element on which a query is started
      END_QUERY the ID of the element on which a query is ended
      FETCH_ROW the row index