Package org.aspectj.weaver.tools
Klasse WeavingAdaptor.WeavingAdaptorMessageWriter
java.lang.Object
org.aspectj.bridge.MessageWriter
org.aspectj.weaver.tools.WeavingAdaptor.WeavingAdaptorMessageWriter
- Alle implementierten Schnittstellen:
IMessageHandler
- Umschließende Klasse:
WeavingAdaptor
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.bridge.MessageWriter
abortOnFailure, writerVon Schnittstelle geerbte Felder org.aspectj.bridge.IMessageHandler
SYSTEM_ERR, SYSTEM_OUT, THROW -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoiddontIgnore(IMessage.Kind kind) Remove a message kind from the list of those ignored from now on.booleanhandleMessage(IMessage message) Handle message by printing and (if abortOnFailure) throwing an AbortException if the messages is a failure or an abort (but not for errors).voidignore(IMessage.Kind kind) Set a message kind to be ignored from now onbooleanisIgnoring(IMessage.Kind kind) Signal clients whether this will ignore messages of a given type.protected String
-
Konstruktordetails
-
WeavingAdaptorMessageWriter
-
-
Methodendetails
-
handleMessage
Beschreibung aus Klasse kopiert:MessageWriterHandle message by printing and (if abortOnFailure) throwing an AbortException if the messages is a failure or an abort (but not for errors).- Angegeben von:
handleMessagein SchnittstelleIMessageHandler- Setzt außer Kraft:
handleMessagein KlasseMessageWriter- Parameter:
message- the IMessage to handle - never null- Gibt zurück:
- true if this message was handled by this handler
- Löst aus:
AbortException- depending on handler logic.- Siehe auch:
-
isIgnoring
Beschreibung aus Schnittstelle kopiert:IMessageHandlerSignal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.- Angegeben von:
isIgnoringin SchnittstelleIMessageHandler- Setzt außer Kraft:
isIgnoringin KlasseMessageWriter- Gibt zurück:
- true if this handler is ignoring all messages of this type
- Siehe auch:
-
ignore
Set a message kind to be ignored from now on- Angegeben von:
ignorein SchnittstelleIMessageHandler- Setzt außer Kraft:
ignorein KlasseMessageWriter- Siehe auch:
-
dontIgnore
Remove a message kind from the list of those ignored from now on.- Angegeben von:
dontIgnorein SchnittstelleIMessageHandler- Setzt außer Kraft:
dontIgnorein KlasseMessageWriter- Siehe auch:
-
render
- Setzt außer Kraft:
renderin KlasseMessageWriter- Gibt zurück:
- null to not print, or message rendering (including newlines)
-