com.sap.aii.mapping.api

Interface MappingTrace

All Known Implementing Classes:
AbstractTrace

public interface MappingTrace

A mapping can use an instance of MappingTrace to add messages to the trace. All methods for the trace output were previously encapsulated in the MappingTrace class. The class AbstractTrace has since been introduced, however. This class inherits all methods of class MappingTrace and also introduces the method addDebugMessage(). Use the AbstractTrace class in future to add messages to the trace.

There are two trace levels info and warning. An instance is passed to the mapping program inside the java.util.Map of method StreamTransformation.setParameter(java.util.Map) with the key StreamTransformationConstants.MAPPING_TRACE.

Since:
XI 2.0 Support Package 2 Patch-Level 3.
See Also:
StreamTransformation, StreamTransformationConstants, AbstractTrace

Method Summary
 void addInfo(String message)
          Add a message with trace level info to the trace.
 void addWarning(String message)
          Add a message with trace level warning to the trace.
 

Method Detail

addInfo

void addInfo(String message)
Add a message with trace level info to the trace.

Parameters:
message - the trace message.

addWarning

void addWarning(String message)
Add a message with trace level warning to the trace.

Parameters:
message - the trace message.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.mapping.lib.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice