public class TrackingToLogWriterImpl extends Object implements TrackingWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_CONFIG_ID |
static String |
JSON_DATETIME |
static String |
JSON_EVENT_TYPE |
static String |
JSON_PARAM_NAME |
static String |
JSON_PARAM_VALUE |
static String |
JSON_PARAMETERS |
static String |
JSON_SESSION_ID |
| Constructor and Description |
|---|
TrackingToLogWriterImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getItemMessage(TrackingItem item) |
protected String |
getSessionMessage(TrackingItemKey key) |
protected void |
itemKeyToJson(TrackingItemKey key,
JsonObjectBuilder builder) |
protected void |
itemToJson(TrackingItem item,
JsonObjectBuilder builder) |
void |
trackingItemCreated(TrackingItem item)
Callback to notify the write that a new history item was created.
|
public static final String JSON_PARAM_VALUE
public static final String JSON_PARAM_NAME
public static final String JSON_PARAMETERS
public static final String JSON_DATETIME
public static final String JSON_EVENT_TYPE
public static final String JSON_SESSION_ID
public static final String JSON_CONFIG_ID
public void trackingItemCreated(TrackingItem item)
TrackingWritertrackingItemCreated in interface TrackingWriterprotected String getSessionMessage(TrackingItemKey key)
protected String getItemMessage(TrackingItem item)
protected void itemKeyToJson(TrackingItemKey key, JsonObjectBuilder builder)
protected void itemToJson(TrackingItem item, JsonObjectBuilder builder)
Copyright © 2017 SAP SE. All Rights Reserved.