Interface ProgressReporter

  • All Known Implementing Classes:
    Process.Reporter, ProgressReporterStub

    public interface ProgressReporter
    Callback to report the progress of some long-running operation to the user. This is passed to the runner which periodically calls `reportProgress` with the current percentage of completion of the task.
    • Method Detail

      • reportProgress

        void reportProgress​(int percentage)
        Reports progress of the current long-running operation.
        Parameters:
        percentage - a number from 0 to 100