Interface ProgressListener
- All Known Implementing Classes:
CollectedRowsCounter
public interface ProgressListener
Listener interface for monitoring progress.
- Author:
- Ralf Wisser
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollected(int day, ModelElement modelElement, long rc) Rows have been collected.voidcollectionJobEnqueued(int day, ModelElement modelElement) A collection-job has been enqueued.voidcollectionJobStarted(int day, ModelElement modelElement) Collection of rows has been started.voidRows have been exported.voidNew stage has begun.voidExport is ready.voidUser should be warned.
-
Method Details
-
collectionJobEnqueued
A collection-job has been enqueued.- Parameters:
day- the daymodelElement- the association or table to be resolved
-
collectionJobStarted
Collection of rows has been started.- Parameters:
day- the daymodelElement- the association or table to be resolved
-
collected
Rows have been collected.- Parameters:
day- the daymodelElement- the association or table which has been resolvedrc- the number of rows which have been collected
-
exported
Rows have been exported.- Parameters:
table- the table from which the rows have been exportedrc- the number of rows
-
newStage
New stage has begun.- Parameters:
stage- the stageisErrorStage-trueif the stage represents an errorisFinalStage-trueif this is the final stage
-
prepareExport
Export is ready. This might be cancelled.- Throws:
CancellationException
-
warn
-