diff options
author | aclement <aclement> | 2006-08-25 09:50:32 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-25 09:50:32 +0000 |
commit | 409e613aacda8d3e5bee8eed3d2919340e0ff7cd (patch) | |
tree | 67a0b6a0cfd3e2f4e96c64f6fea7e38e38e88e91 /loadtime | |
parent | 04fa1dcce12934cc5cfe1e5e8b66523c10e93672 (diff) | |
download | aspectj-409e613aacda8d3e5bee8eed3d2919340e0ff7cd.tar.gz aspectj-409e613aacda8d3e5bee8eed3d2919340e0ff7cd.zip |
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java index c9b4a6d9f..df06ee773 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java @@ -60,4 +60,14 @@ public class DefaultMessageHandler implements IMessageHandler { } } + public void ignore(IMessage.Kind kind) { + if (kind.equals(IMessage.WEAVEINFO)) { + showWeaveInfo = false; + } else if (kind.equals(IMessage.DEBUG)) { + isVerbose = false; + } else if (kind.equals(IMessage.WARNING)) { + showWarn = true; + } + } + } |