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 intending of a pagestatic final intending of DB query executionstatic final intthe BIRT task ends eventstatic final intreading data from DBstatic final intstart to generate a pagestatic final intstart to execute a DB querystatic final intthe BIRT task starts event -
Method Summary
Modifier and TypeMethodDescriptionvoidonProgress(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 IEngineTaskEND_TASK task type, see IEngineTaskSTART_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
-