On 2010-01-19, Mitch Gitman <[email protected]> wrote: > It seems that, since the project knows all its listeners to notify > them of an event, it wouldn't be so hard to add a method to query all > the listeners for their log level and then return the max of that. The > build listeners would also need a getter for their log level.
Note that in order to do that you are going to change interfaces that are implemented by third parties (there are quite a few BuildListener implementations out there) who won't be happy if ther code stops working. In the past we've added new interfaces when we added functionality - like we did for SubBuildListener - in this case using reflection in order to look for a getLevel method or similar may be more appropriate than changing the interface. Just thinking out loud as well 8-) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
