From 183fc23883289ae42854ce9afcf2d3b0d29b7599 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 18 Mar 2004 13:00:01 +0000 Subject: Fix for Bugzilla Bug 40192 build cancel during weaving --- bridge/src/org/aspectj/bridge/IProgressListener.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bridge/src/org/aspectj') 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(); + } -- cgit v1.2.3