public class GetLogTracesOp extends Object implements MessageOperation
You can specify:
maxCount); Maximum 1,000 entries
or 500,000 characters can be retrieved. GetLogTracesResult ServerFailureExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="getLogTraces">
<xs:complexType>
<xs:attribute name="maxCount" type="xs:integer" default="50"/>
<xs:attribute name="destinationId" type="LoggingFileDestinationId" default="LDF1"/>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | Yes | Yes | Yes | Yes | Yes | Yes |
| Modifier and Type | Class and Description |
|---|---|
static class |
GetLogTracesOp.LoggingFileDestinationId
This
enumeration lists all the identifiers of the fileset that contains the log and trace entries to retrieve. |
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_COUNT_NAME
XML mapping for the MAX COUNT: "maxCount"
|
static String |
OPERATION_NAME
The XML tag name of this service operation: getLogTraces
|
| Constructor and Description |
|---|
GetLogTracesOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds string data to this operation.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child tag to this operation.
|
GetLogTracesOp.LoggingFileDestinationId |
getLoggingFileDestinationId()
Gets the
logging file destination to get log and/or trace messages from. |
int |
getLogTracesMaxCount()
Gets the maximum count of log traces to be retrieved.
|
String |
getName()
Returns the name of the operation.
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the specified output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.
|
void |
setLoggingFileDestinationId(GetLogTracesOp.LoggingFileDestinationId setLoggingFileDestinationId)
Sets the
logging file destination to get log and/or trace messages from. |
void |
setLogTracesMaxCount(int count)
Sets the maximum count of log or trace entries to be retrieved.
|
public static final String OPERATION_NAME
public static final String MAX_COUNT_NAME
public String getName()
getName in interface MessageOperationOPERATION_NAMEpublic void setLogTracesMaxCount(int count)
count - The maximum count to be retrievedpublic int getLogTracesMaxCount()
public GetLogTracesOp.LoggingFileDestinationId getLoggingFileDestinationId()
logging file destination to get log and/or trace messages from.public void setLoggingFileDestinationId(GetLogTracesOp.LoggingFileDestinationId setLoggingFileDestinationId)
logging file destination to get log and/or trace messages from.setLoggingFileDestinationId - The logging file destinationpublic void setAttributes(XMLAttributes atts)
setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic void addCharacterData(String cData)
This data is ignored for this operation.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operationpublic void addChild(String tagName, XMLMarshallable child)
This tag is ignored for this operation.
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write into