|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.admin.hci.GetLogTracesOp
public class GetLogTracesOp
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:
maxCount); Maximum 1,000 entries 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 |
| 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 |
|---|
public static final java.lang.String OPERATION_NAME
public static final java.lang.String MAX_COUNT_NAME
protected static final int MAX_LOG_TRACES
Get Logs and Traces operation: 1000
| Constructor Detail |
|---|
public GetLogTracesOp()
| Method Detail |
|---|
public java.lang.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(java.lang.String cData)
This data is ignored for this operation.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operation
public void addChild(java.lang.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
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||