Package org.aspectj.ajde.core.internal
Class AjdeCoreBuildNotifierAdapter
java.lang.Object
org.aspectj.ajde.core.internal.AjdeCoreBuildNotifierAdapter
- All Implemented Interfaces:
IProgressListener
Enables the compiler/weaver progres to be related to the user via the
IBuildProgressMonitor as well as relating whether or not the user has
cancelled the build progress back to the compiler/weaver.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCancelledRequested(boolean cancelRequested) voidsetProgress(double percentDone) void
-
Constructor Details
-
AjdeCoreBuildNotifierAdapter
-
-
Method Details
-
setProgress
public void setProgress(double percentDone) - Specified by:
setProgressin interfaceIProgressListener- Parameters:
percentDone- how much work is completed so far
-
setText
- Specified by:
setTextin interfaceIProgressListener- Parameters:
text- the current phase of processing
-
isCancelledRequested
public boolean isCancelledRequested()- Specified by:
isCancelledRequestedin interfaceIProgressListener- Returns:
- true if the consumer of the progress info would like the compileation to stop
-
setCancelledRequested
public void setCancelledRequested(boolean cancelRequested) - Specified by:
setCancelledRequestedin interfaceIProgressListener- Parameters:
cancelRequested- true if the caller wants the current compilation to stop asap
-