Package org.nuxeo.ecm.core.bulk.io
Class BulkStatusJsonWriter
- java.lang.Object
-
- org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter<EntityType>
-
- org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter<BulkStatus>
-
- org.nuxeo.ecm.core.bulk.io.BulkStatusJsonWriter
-
- All Implemented Interfaces:
Marshaller<BulkStatus>,Writer<BulkStatus>
@Setup(mode=SINGLETON, priority=2000) public class BulkStatusJsonWriter extends ExtensibleEntityJsonWriter<BulkStatus>
- Since:
- 10.2
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
ctx, registry
-
-
Constructor Summary
Constructors Constructor Description BulkStatusJsonWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteEntityBody(BulkStatus entity, com.fasterxml.jackson.core.JsonGenerator jg)Implement this method to write the entity body.-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter
extend, write
-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
accept, getGenerator, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
-
-
-
-
Method Detail
-
writeEntityBody
public void writeEntityBody(BulkStatus entity, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
Description copied from class:ExtensibleEntityJsonWriterImplement this method to write the entity body.- Specified by:
writeEntityBodyin classExtensibleEntityJsonWriter<BulkStatus>- Parameters:
entity- The Java entity.jg- AJsonGeneratorready to write your entity as Json.- Throws:
IOException
-
-