public abstract class AbstractTrace extends Object implements MappingTrace
AbstractTrace
to add messages
to the trace. There are three trace levels info, warning and debug. You can
display the messages that you write to the trace with these methods in the
test environment of interface mappings, for example. Since you can also set a
trace level for each pipeline in the Integration Engine, it depends on this
setting if trace messages are written to the trace header of the message at
runtime. For details see online documentation.AbstractTransformation.getTrace()
Constructor and Description |
---|
AbstractTrace() |
Modifier and Type | Method and Description |
---|---|
void |
addDebugMessage(String message)
Add a message with trace level debug to the trace.
|
void |
addDebugMessage(String message,
Throwable throwable)
Add a message with trace level debug to the trace and the stacktrace of
throwable.
|
abstract void |
addInfo(String message)
Add a message with trace level info to the trace.
|
void |
addInfo(String message,
Throwable throwable)
Add a message with trace level info to the trace and the stacktrace of
throwable.
|
void |
addTestMessage(String message)
Add only in test mode a message with trace level debug to the trace.
|
abstract void |
addWarning(String message)
Add a message with trace level warning to the trace.
|
void |
addWarning(String message,
Throwable throwable)
Add a message with trace level warning to the trace and the stacktrace of
throwable.
|
boolean |
isLogging()
Returns if the trace logs the message or not.
|
public abstract void addInfo(String message)
MappingTrace
addInfo
in interface MappingTrace
message
- the trace message.MappingTrace.addInfo(java.lang.String)
public abstract void addWarning(String message)
MappingTrace
addWarning
in interface MappingTrace
message
- the trace message.MappingTrace.addWarning(java.lang.String)
public void addDebugMessage(String message)
message
- the trace message.public boolean isLogging()
public void addTestMessage(String message)
message
- the trace message.public void addInfo(String message, Throwable throwable)
message
- the trace message.throwable
- the Throwable which stacktrace is witten to the trace.public void addWarning(String message, Throwable throwable)
message
- the trace message.throwable
- the Throwable which stacktrace is witten to the trace.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.mapping.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice