Package org.aspectj.ajde.core
Interface IBuildMessageHandler
- All Known Subinterfaces:
IUIBuildMessageHandler
- All Known Implementing Classes:
BrowserMessageHandler
public interface IBuildMessageHandler
Interface that handles messages sent from the compiler.
Implementations define which messages are logged and whether
the handler aborts the process.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dontIgnore(IMessage.Kind kind)
Allow fine grained configuration after initialization.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.
-
Method Details
-
handleMessage
Handle message by reporting and/or throwing an AbortException.- Parameters:
message
- the IMessage to handle - never null- Returns:
- true if this message was handled by this handler
- Throws:
IllegalArgumentException
- if message is nullAbortException
- depending on handler logic.
-
isIgnoring
Signal whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.- Returns:
- true if this handler is ignoring all messages of this type
-
dontIgnore
Allow fine grained configuration after initialization.- Parameters:
kind
-
-
ignore
Allow fine grained configuration after initialization.- Parameters:
kind
-
-