Interface IAppBuildMonitor


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

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanisCanceled()
      Returns whether cancellation of current operation has been requested.
      voidworked​(int work)
      Notifies that a given number of work unit of the main task has been completed.
    • Method Detail

      • 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:
        java.lang.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.