Class TransferReplyUnitPreparationHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.transfer.reply.TransferReplyUnitPreparationHandler
- All Implemented Interfaces:
VitamAutoCloseable,WorkerAction,AutoCloseable
Transfer reply unit preparation handler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final com.fasterxml.jackson.core.type.TypeReference<JsonLineModel>static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckMandatoryIOParameter(HandlerIO handler) Check mandatory parameterexecute(WorkerParameters param, HandlerIO handler) Execute an actionstatic StringgetId()Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
executeList
-
Field Details
-
JSON_NODE_TYPE_REFERENCE
public static final com.fasterxml.jackson.core.type.TypeReference<JsonLineModel> JSON_NODE_TYPE_REFERENCE -
PERSISTENT_IDENTIFIER_FIELD
- See Also:
-
ARCHIVAL_AGENCY_IDENTIFIER
- See Also:
-
-
Constructor Details
-
TransferReplyUnitPreparationHandler
public TransferReplyUnitPreparationHandler()Default constructor
-
-
Method Details
-
execute
Description copied from interface:WorkerActionExecute an action- Parameters:
param-WorkerParametershandler- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
- Throws:
ProcessingException- if an error is encountered when executing the action
-
checkMandatoryIOParameter
Description copied from interface:WorkerActionCheck mandatory parameter- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
getId
-