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.StringSTORING_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 voidcheckMandatoryIOParameter(HandlerIO handler)Check mandatory parameterItemStatusexecute(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:WorkerActionExecute an action- Parameters:
param-WorkerParametershandler- 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:WorkerActionCheck mandatory parameter- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
-