Class AjBuildNotifier
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
org.aspectj.ajdt.internal.core.builder.AjBuildNotifier
- All Implemented Interfaces:
IProgressListener
- Author:
- colyer Build progress notification inside Eclipse
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
cancelling, fixedErrorCount, FixedErrorCount, fixedWarningCount, FixedWarningCount, monitor, newErrorCount, NewErrorCount, newWarningCount, NewWarningCount, percentComplete, previousSubtask, progressPerCompilationUnit, totalWork, workDone -
Constructor Summary
ConstructorsConstructorDescriptionAjBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, int buildKind, BooleanSupplier interruptSupplier) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCancelledRequested(boolean cancelRequested) voidsetProgress(double percentDone) voidMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
aboutToCompile, begin, checkCancel, checkCancelWithinCompiler, compiled, done, problemsMessage, resetProblemCounters, setCancelling, setProgressPerCompilationUnit, subTask, updateProblemCounts, updateProblemCounts, updateProgress, updateProgressDelta
-
Constructor Details
-
AjBuildNotifier
public AjBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, int buildKind, BooleanSupplier interruptSupplier) - Parameters:
monitor-project-
-
-
Method Details
-
setText
- Specified by:
setTextin interfaceIProgressListener- Parameters:
text- the current phase of processing
-
setProgress
public void setProgress(double percentDone) - Specified by:
setProgressin interfaceIProgressListener- Parameters:
percentDone- how much work is completed so far
-
setCancelledRequested
public void setCancelledRequested(boolean cancelRequested) - Specified by:
setCancelledRequestedin interfaceIProgressListener- Parameters:
cancelRequested- true if the caller wants the current compilation to stop asap
-
isCancelledRequested
public boolean isCancelledRequested()- Specified by:
isCancelledRequestedin interfaceIProgressListener- Returns:
- true if the consumer of the progress info would like the compileation to stop
-