org.aspectj.ajde.core.internal
Class AjdeCoreBuildNotifierAdapter
java.lang.Object
org.aspectj.ajde.core.internal.AjdeCoreBuildNotifierAdapter
- All Implemented Interfaces:
- IProgressListener
public class AjdeCoreBuildNotifierAdapter
- extends java.lang.Object
- implements 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjdeCoreBuildNotifierAdapter
public AjdeCoreBuildNotifierAdapter(IBuildProgressMonitor progressMonitor)
setProgress
public void setProgress(double percentDone)
- Specified by:
setProgress in interface IProgressListener
- Parameters:
percentDone - how much work is completed so far
setText
public void setText(java.lang.String text)
- Specified by:
setText in interface IProgressListener
- Parameters:
text - the current phase of processing
isCancelledRequested
public boolean isCancelledRequested()
- Specified by:
isCancelledRequested in interface IProgressListener
- 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 interface IProgressListener
- Parameters:
cancelRequested - true if the caller wants the current compilation to stop asap