com.virtuosotechnologies.lib.asyncjob
Interface AsyncJobProgressReporter


public interface AsyncJobProgressReporter

An object that is passed to an AsyncJob during a run so it can report on its progress.


Method Summary
 void updateProgress(float fractionDone, String progressString)
          Send a progress update
 

Method Detail

updateProgress

public void updateProgress(float fractionDone,
                           String progressString)
Send a progress update

Parameters:
fractionDone - The fraction done as a float between 0 and 1, or AsyncJob.INDETERMINATE_PROGRESS for indeterminate
progressString - A short string indicating the current state of the job, or null to continue to use the previously reported string.