summaryrefslogtreecommitdiffstats
path: root/bridge/src/org
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-18 13:00:01 +0000
committeraclement <aclement>2004-03-18 13:00:01 +0000
commit183fc23883289ae42854ce9afcf2d3b0d29b7599 (patch)
tree4607522120a1a54b748d36f99f1afae1ee76502f /bridge/src/org
parentd91b72e7016a1ebbc3363fe8a57ec61c012deb99 (diff)
downloadaspectj-183fc23883289ae42854ce9afcf2d3b0d29b7599.tar.gz
aspectj-183fc23883289ae42854ce9afcf2d3b0d29b7599.zip
Fix for Bugzilla Bug 40192
build cancel during weaving
Diffstat (limited to 'bridge/src/org')
-rw-r--r--bridge/src/org/aspectj/bridge/IProgressListener.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/bridge/src/org/aspectj/bridge/IProgressListener.java b/bridge/src/org/aspectj/bridge/IProgressListener.java
index 1686c64b0..59d5f3366 100644
--- a/bridge/src/org/aspectj/bridge/IProgressListener.java
+++ b/bridge/src/org/aspectj/bridge/IProgressListener.java
@@ -26,4 +26,15 @@ public interface IProgressListener {
* @param percentDone how much work is completed so far
*/
public void setProgress(double percentDone);
+
+ /**
+ * @param cancelRequested true if the caller wants the current compilation to stop asap
+ */
+ public void setCancelledRequested(boolean cancelRequested);
+
+ /**
+ * @return true if the consumer of the progress info would like the compileation to stop
+ */
+ public boolean isCancelledRequested();
+
}