diff options
Diffstat (limited to 'bridge/src')
-rw-r--r-- | bridge/src/org/aspectj/bridge/IProgressListener.java | 11 |
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(); + } |