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 String
static final com.fasterxml.jackson.core.type.TypeReference<JsonLineModel>
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMandatoryIOParameter
(HandlerIO handler) Check mandatory parameterexecute
(WorkerParameters param, HandlerIO handler) Execute an actionstatic String
getId()
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:WorkerAction
Execute an action- Parameters:
param
-WorkerParameters
handler
- 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:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
getId
-