Package com.iizix.app.builder
Interface IAppBuildMonitor
- public interface IAppBuildMonitorMapping interface used for progress monitor- Author:
- Chris
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - boolean- isCanceled()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 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:
- trueif cancellation has been requested, and- falseotherwise.