Class PurgeDeleteObjectGroupPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.purge.PurgeDeleteObjectGroupPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
- Direct Known Subclasses:
EliminationActionDeleteObjectGroupPlugin
,IngestCleanupDeleteObjectGroupPlugin
,TransferReplyDeleteObjectGroupPlugin
public class PurgeDeleteObjectGroupPlugin extends ActionHandler
Purge delete object group plugin.
-
-
Constructor Summary
Constructors Modifier Constructor Description PurgeDeleteObjectGroupPlugin(java.lang.String actionId)
Default constructorprotected
PurgeDeleteObjectGroupPlugin(java.lang.String actionId, PurgeDeleteService purgeDeleteService)
Test only constructor
-
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 param, HandlerIO handler)
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Constructor Detail
-
PurgeDeleteObjectGroupPlugin
public PurgeDeleteObjectGroupPlugin(java.lang.String actionId)
Default constructor- Parameters:
actionId
-
-
PurgeDeleteObjectGroupPlugin
protected PurgeDeleteObjectGroupPlugin(java.lang.String actionId, PurgeDeleteService purgeDeleteService)
Test only constructor
-
-
Method Detail
-
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
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters param, HandlerIO handler)
- 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
-
-