public class BrowserMessageHandler extends java.lang.Object implements IUIBuildMessageHandler
Constructor and Description |
---|
BrowserMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dontIgnore(IMessage.Kind kind)
Allow fine grained configuration after initialization.
|
java.util.List<IMessage> |
getMessages() |
boolean |
handleMessage(IMessage message)
Handle message by reporting and/or throwing an AbortException.
|
void |
ignore(IMessage.Kind kind)
Allow fine grained configuration after initialization.
|
boolean |
isIgnoring(IMessage.Kind kind)
Signal whether this will ignore messages of a given type.
|
void |
reset()
Reset the state of the message handler
|
public boolean handleMessage(IMessage message) throws AbortException
IBuildMessageHandler
handleMessage
in interface IBuildMessageHandler
message
- the IMessage to handle - never nullAbortException
- depending on handler logic.public void dontIgnore(IMessage.Kind kind)
IBuildMessageHandler
dontIgnore
in interface IBuildMessageHandler
public boolean isIgnoring(IMessage.Kind kind)
IBuildMessageHandler
isIgnoring
in interface IBuildMessageHandler
public void ignore(IMessage.Kind kind)
IBuildMessageHandler
ignore
in interface IBuildMessageHandler
public java.util.List<IMessage> getMessages()
public void reset()
IUIBuildMessageHandler
reset
in interface IUIBuildMessageHandler