public abstract class BuildTraceabilityActionPlugin extends ActionHandler
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<JsonLineModel> |
TYPE_REFERENCE |
| Constructor and Description |
|---|
BuildTraceabilityActionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
actionName() |
protected void |
buildTraceabilityData(HandlerIO handler,
String lifecycleType,
ItemStatus itemStatus) |
void |
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameter
|
static String |
generateDigest(com.fasterxml.jackson.databind.JsonNode jsonNode,
DigestType digestType)
Generate a hash for a JsonNode using VITAM Digest Algorithm
|
protected abstract TraceabilityStatistics |
getTraceabilityStatistics(DigestValidator digestValidator) |
protected abstract String |
stepName() |
checkMandatoryParameters, close, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executeListpublic static final com.fasterxml.jackson.core.type.TypeReference<JsonLineModel> TYPE_REFERENCE
protected void buildTraceabilityData(HandlerIO handler, String lifecycleType, ItemStatus itemStatus) throws ProcessingException
ProcessingExceptionprotected abstract TraceabilityStatistics getTraceabilityStatistics(DigestValidator digestValidator)
public static String generateDigest(com.fasterxml.jackson.databind.JsonNode jsonNode, DigestType digestType) throws IOException
jsonNode - the jsonNode to compute digest fordigestType - the digest typeIOExceptionpublic void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
WorkerActionhandler - input output listProcessingException - when handler io is not completeprotected abstract String stepName()
protected abstract String actionName()
Copyright © 2020 Vitam. All rights reserved.