Package com.iizix.app.builder
Interface IAppBuildMonitor
public interface IAppBuildMonitor
Mapping interface used for progress monitor
- Author:
- Chris
- Method SummaryModifier and TypeMethodDescription- booleanReturns 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- workedvoid 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.
 
- isCanceledboolean 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.