Package fr.gouv.vitam.worker.core.plugin
Class StoreObjectGroupActionPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.StoreObjectActionHandler
-
- fr.gouv.vitam.worker.core.plugin.StoreObjectGroupActionPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
public class StoreObjectGroupActionPlugin extends StoreObjectActionHandler
StoreObjectGroupAction Plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STORING_OBJECT_TASK_ID
-
Constructor Summary
Constructors Constructor Description StoreObjectGroupActionPlugin()
StoreObjectGroupActionPlugin(StorageClientFactory storageClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameterItemStatus
execute(WorkerParameters param, HandlerIO handler)
Execute an actionjava.util.List<ItemStatus>
executeList(WorkerParameters params, HandlerIO handlerIO)
-
Methods inherited from class fr.gouv.vitam.worker.core.plugin.StoreObjectActionHandler
storeObject, storeObjects, storeStorageInfos, updateSubTasksAndTasksFromStorageInfos
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Field Detail
-
STORING_OBJECT_TASK_ID
public static final java.lang.String STORING_OBJECT_TASK_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StoreObjectGroupActionPlugin
public StoreObjectGroupActionPlugin()
-
StoreObjectGroupActionPlugin
public StoreObjectGroupActionPlugin(StorageClientFactory storageClientFactory)
-
-
Method Detail
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters params, HandlerIO handlerIO)
- Returns:
-
execute
public ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException
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
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
-
-