Class LogEntryJsonWriter

All Implemented Interfaces:
Marshaller<LogEntry>, Writer<LogEntry>

@Setup(mode=SINGLETON, priority=2000) public class LogEntryJsonWriter extends ExtensibleEntityJsonWriter<LogEntry>
Convert LogEntry to Json.

This marshaller is enrichable: register class implementing AbstractJsonEnricher and managing LogEntry .

This marshaller is also extensible: extend it and simply override ExtensibleEntityJsonWriter.extend(Object, JsonGenerator).

Format is:

 
 {
   "entity-type":"logEntry",
   "category": "LOG_ENTRY_CATEGORY",
   "principalName": "LOG_ENTRY_PRINCIPAL",
   "comment": "LOG_ENTRY_COMMENT",
   "docLifeCycle": "DOC_LIFECYCLE",
   "docPath": "DOC_PATH",
   "docType": "DOC_TYPE",
   "docUUID": "DOC_UUID",
   "eventId": "EVENT_ID",
   "repositoryId": "REPO_ID",
   "eventDate": "LOG_EVENT_DATE",
   "logDate": "LOG_DATE"
             <-- contextParameters if there are enrichers activated
             <-- additional property provided by extend() method
 }
 
 
Since:
7.2