com.highdeal.admin.hci
Class GetLogTracesOp

java.lang.Object
  extended by com.highdeal.admin.hci.GetLogTracesOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class GetLogTracesOp
extends java.lang.Object
implements MessageOperation

This operation allows you to retrieve the 50 latest logs and traces recorded in files by the instance of the SAP CC Core Server system that receives this operation request.

You can specify:

Additional Information

For more information, consult the product documentation of SAP Convergent Charging:

Operation Result

GetLogTracesResult

Operation Failure Exception

ServerFailureException

XML API for HCI

The 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>

Operation Availability

You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:

EditionFinal Target Instances
raterupdaterguiderbulkLoadertaxerdispatcher
chargeYesYesYesYesYesYes

Nested Class Summary
static class GetLogTracesOp.LoggingFileDestinationId
          This enumeration lists all the identifiers of the fileset that contains the log and trace entries to retrieve.
 
Field Summary
static java.lang.String MAX_COUNT_NAME
          XML mapping for the MAX COUNT: "maxCount"
protected static int MAX_LOG_TRACES
          Maximum count of log and trace entries which can be returned by the instance of the system via the Get Logs and Traces operation: 1000
static java.lang.String OPERATION_NAME
          The XML tag name of this service operation: getLogTraces
 
Constructor Summary
GetLogTracesOp()
           
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds string data to this operation.
 void addChild(java.lang.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.
 java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
The XML tag name of this service operation: getLogTraces

See Also:
Constant Field Values

MAX_COUNT_NAME

public static final java.lang.String MAX_COUNT_NAME
XML mapping for the MAX COUNT: "maxCount"

See Also:
Constant Field Values

MAX_LOG_TRACES

protected static final int MAX_LOG_TRACES
Maximum count of log and trace entries which can be returned by the instance of the system via the Get Logs and Traces operation: 1000

See Also:
Constant Field Values
Constructor Detail

GetLogTracesOp

public GetLogTracesOp()
Method Detail

getName

public java.lang.String getName()
Returns the name of the operation.

Specified by:
getName in interface MessageOperation
Returns:
OPERATION_NAME

setLogTracesMaxCount

public void setLogTracesMaxCount(int count)
Sets the maximum count of log or trace entries to be retrieved.

Parameters:
count - The maximum count to be retrieved

getLogTracesMaxCount

public int getLogTracesMaxCount()
Gets the maximum count of log traces to be retrieved.

Returns:
The maximum count to be retrieved

getLoggingFileDestinationId

public GetLogTracesOp.LoggingFileDestinationId getLoggingFileDestinationId()
Gets the logging file destination to get log and/or trace messages from.

Returns:
The logging file destination

setLoggingFileDestinationId

public void setLoggingFileDestinationId(GetLogTracesOp.LoggingFileDestinationId setLoggingFileDestinationId)
Sets the logging file destination to get log and/or trace messages from.

Parameters:
setLoggingFileDestinationId - The logging file destination

setAttributes

public void setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - The XMLAttributes containing the data

addCharacterData

public void addCharacterData(java.lang.String cData)
Adds string data to this operation.

This data is ignored for this operation.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to add to the operation

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Adds a child tag to this operation.

This tag is ignored for this operation.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of the tag
child - The XMLMarshallable child to add

marshal

public void marshal(XMLOutputter output)
Writes the operation XML data to the specified output.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - The XMLOutputter to write into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)