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
FieldsModifier and TypeFieldDescriptionstatic final int
ending of a pagestatic final int
ending of DB query executionstatic final int
the BIRT task ends eventstatic final int
reading data from DBstatic final int
start to generate a pagestatic final int
start to execute a DB querystatic final int
the BIRT task starts event -
Method Summary
Modifier and TypeMethodDescriptionvoid
onProgress
(int type, int value) The 'type' specifies this progress event and the 'value' specifies a proper value to the event.
-
Field Details
-
START_TASK
static final int START_TASKthe BIRT task starts event- See Also:
-
END_TASK
static final int END_TASKthe BIRT task ends event- See Also:
-
START_PAGE
static final int START_PAGEstart to generate a page- See Also:
-
END_PAGE
static final int END_PAGEending of a page- See Also:
-
START_QUERY
static final int START_QUERYstart to execute a DB query- See Also:
-
END_QUERY
static final int END_QUERYending of DB query execution- See Also:
-
FETCH_ROW
static final int FETCH_ROWreading data from DB- See Also:
-
-
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
-