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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCancelledRequested(boolean cancelRequested)
void
setProgress(double percentDone)
void
-
Constructor Details
-
AjdeCoreBuildNotifierAdapter
-
-
Method Details
-
setProgress
public void setProgress(double percentDone)- Specified by:
setProgress
in interfaceIProgressListener
- Parameters:
percentDone
- how much work is completed so far
-
setText
- Specified by:
setText
in interfaceIProgressListener
- Parameters:
text
- the current phase of processing
-
isCancelledRequested
public boolean isCancelledRequested()- Specified by:
isCancelledRequested
in interfaceIProgressListener
- Returns:
- true if the consumer of the progress info would like the compileation to stop
-
setCancelledRequested
public void setCancelledRequested(boolean cancelRequested)- Specified by:
setCancelledRequested
in interfaceIProgressListener
- Parameters:
cancelRequested
- true if the caller wants the current compilation to stop asap
-