|
SAP NetWeaver 7.4 SP03 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.aii.mapping.api.AbstractTrace
public abstract class AbstractTrace
A mapping can use an instance of 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 Summary | |
|---|---|
AbstractTrace()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTrace()
| Method Detail |
|---|
public abstract void addInfo(String message)
MappingTrace
addInfo in interface MappingTracemessage - the trace message.MappingTrace.addInfo(java.lang.String)public abstract void addWarning(String message)
MappingTrace
addWarning in interface MappingTracemessage - 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.
public void addDebugMessage(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
|
|
SAP NetWeaver 7.4 SP03 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||