Package com.unitesk.aspectrace
Class DebugMessage
- java.lang.Object
-
- com.unitesk.aspectrace.AbstractTraceMessage
-
- com.unitesk.aspectrace.DebugMessage
-
- All Implemented Interfaces:
java.io.Serializable
public final class DebugMessage extends AbstractTraceMessage
Comment in trace. Can be identified byformatter
and get in the trace for trace debugging. In channels likeTraceProvider
andMessageStream
these messages must be ignored.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.unitesk.aspectrace.AbstractTraceMessage
AbstractTraceMessage.Kind
-
-
Constructor Summary
Constructors Constructor Description DebugMessage(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractTraceMessage.Kind
getKind()
Message type determiner.java.lang.String
getText()
-
Methods inherited from class com.unitesk.aspectrace.AbstractTraceMessage
getAspect, getChannel
-
-
-
-
Method Detail
-
getKind
public AbstractTraceMessage.Kind getKind()
Description copied from class:AbstractTraceMessage
Message type determiner. Trace message handlers (trace channels
,trace filters
, realizationstrace providers
иmessage streams
etc.) can use this method instead of checking forinstanceof
.- Specified by:
getKind
in classAbstractTraceMessage
-
getText
public java.lang.String getText()
-
-