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 int END_PAGE
      ending of a page
      static int END_QUERY
      ending of DB query execution
      static int END_TASK
      the BIRT task ends event
      static int FETCH_ROW
      reading data from DB
      static int START_PAGE
      start to generate a page
      static int START_QUERY
      start to execute a DB query
      static int START_TASK
      the BIRT task starts event
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.
    • Method Detail

      • 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