Class JsonBatchFactory
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.json.JsonBatchFactory
-
- All Implemented Interfaces:
BatchFactory<Content>
public class JsonBatchFactory extends Object implements BatchFactory<Content>
-
-
Constructor Summary
Constructors Constructor Description JsonBatchFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Batch<Content>createBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version version, CoreSettings settings, boolean isChangeSet)Part<Content>createPart(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean inChangeSet, String logIndent)RequestcreateRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version version, boolean requireContentId)StringgetContentType()Return lower-case content-type.
-
-
-
Method Detail
-
getContentType
public String getContentType()
Description copied from interface:BatchFactoryReturn lower-case content-type.- Specified by:
getContentTypein interfaceBatchFactory<Content>- Returns:
- the content type that this factory can handle.
-
createBatch
public Batch<Content> createBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version version, CoreSettings settings, boolean isChangeSet)
- Specified by:
createBatchin interfaceBatchFactory<Content>
-
createRequest
public Request createRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version version, boolean requireContentId)
- Specified by:
createRequestin interfaceBatchFactory<Content>
-
createPart
public Part<Content> createPart(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean inChangeSet, String logIndent)
- Specified by:
createPartin interfaceBatchFactory<Content>
-
-