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
,WorkerAction
,java.lang.AutoCloseable
public class IndexUnitActionPlugin extends ActionHandler
IndexUnitAction Plugin
-
-
Constructor Summary
Constructors Constructor Description IndexUnitActionPlugin()
Constructor with parameter SedaUtilsFactory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameterItemStatus
execute(WorkerParameters params, HandlerIO param)
Execute an actionjava.util.List<ItemStatus>
executeList(WorkerParameters workerParameters, HandlerIO handlerIO)
static java.lang.String
getId()
Retrieve id of this plugin INDEXATION-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Method Detail
-
getId
public static java.lang.String getId()
Retrieve id of this plugin INDEXATION- Returns:
- HANDLER_ID id of this plugin
-
execute
public ItemStatus execute(WorkerParameters params, HandlerIO param)
Description copied from interface:WorkerAction
Execute an action- Parameters:
params
-WorkerParameters
param
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handlerIO)
- Returns:
-
checkMandatoryIOParameter
public void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
-