Package org.aspectj.ajde.core
Interface IBuildProgressMonitor
- All Known Implementing Classes:
DefaultBuildProgressMonitor
public interface IBuildProgressMonitor
Interface that presents the user with information about the
progress of the build
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
Start the progress monitorvoid
finish
(boolean wasFullBuild) Stop the progress monitorboolean
Checks whether the user has chosen to cancel the progress monitorvoid
setProgress
(double percentDone) Sets the current progress donevoid
setProgressText
(String text) Sets the label describing the current progress phase.
-
Method Details
-
begin
void begin()Start the progress monitor -
setProgressText
Sets the label describing the current progress phase. -
finish
void finish(boolean wasFullBuild) Stop the progress monitor- Parameters:
wasFullBuild
- - true if was a full build, false otherwise
-
setProgress
void setProgress(double percentDone) Sets the current progress done- Parameters:
percentDone
-
-
isCancelRequested
boolean isCancelRequested()Checks whether the user has chosen to cancel the progress monitor- Returns:
- true if progress monitor has been cancelled and false otherwise
-