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
,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, executeList, updateDetailItemStatus
-
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 class:ActionHandler
Execute an action- Overrides:
execute
in classActionHandler
- 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 class:ActionHandler
Check mandatory parameter- Overrides:
checkMandatoryIOParameter
in classActionHandler
- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
getId
-