Interface IAppBuildMonitor


public interface IAppBuildMonitor
Mapping interface used for progress monitor
Author:
Chris
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether cancellation of current operation has been requested.
    void
    worked(int work)
    Notifies that a given number of work unit of the main task has been completed.
  • Method Details

    • worked

      void worked(int work)
      Notifies that a given number of work unit of the main task has been completed. Note that this amount represents an installment, as opposed to a cumulative amount of work done to date.
      Parameters:
      work - A non-negative number of work units just completed.
      Throws:
      IllegalArgumentException - If work is less than zero.
    • isCanceled

      boolean isCanceled()
      Returns whether cancellation of current operation has been requested. Long-running operations should poll to see if cancellation has been requested.
      Returns:
      true if cancellation has been requested, and false otherwise.