Package fr.gouv.vitam.worker.core.plugin
Class IndexUnitActionPlugin
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.IndexUnitActionPlugin
- All Implemented Interfaces:
VitamAutoCloseable
,AutoCloseable
IndexUnitAction Plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMandatoryIOParameter
(HandlerIO handler) Check mandatory parameterexecute
(WorkerParameters params, HandlerIO handlerIO) Execute an actionexecuteList
(WorkerParameters workerParameters, HandlerIO handlerIO) static String
getId()
Retrieve id of this plugin INDEXATIONMethods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
Constructor Details
-
IndexUnitActionPlugin
public IndexUnitActionPlugin()Constructor with parameter SedaUtilsFactory
-
-
Method Details
-
getId
Retrieve id of this plugin INDEXATION- Returns:
- HANDLER_ID id of this plugin
-
execute
Description copied from class:ActionHandler
Execute an action- Overrides:
execute
in classActionHandler
- Parameters:
params
-WorkerParameters
handlerIO
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
executeList
- Overrides:
executeList
in classActionHandler
- Returns:
-
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
-