Class DeleteGotVersionsPreparationPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.deleteGotVersions.handlers.DeleteGotVersionsPreparationPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
public class DeleteGotVersionsPreparationPlugin extends ActionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DISTRIBUTION_FILE_OG
static java.lang.String
FIRST_BINARY_MASTER
static java.lang.String
FIRST_PHYSICAL_MASTER
-
Constructor Summary
Constructors Constructor Description DeleteGotVersionsPreparationPlugin()
DeleteGotVersionsPreparationPlugin(MetaDataClientFactory metaDataClientFactory, DeleteGotVersionsReportService reportService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStatus
execute(WorkerParameters param, HandlerIO handler)
Execute an actionjava.util.List<ObjectGroupToDeleteReportEntry>
generateGotWithDetails(ObjectGroupResponse objectGroup, DeleteGotVersionsRequest deleteGotVersionsRequest)
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
checkMandatoryIOParameter, executeList
-
-
-
-
Field Detail
-
FIRST_BINARY_MASTER
public static final java.lang.String FIRST_BINARY_MASTER
-
FIRST_PHYSICAL_MASTER
public static final java.lang.String FIRST_PHYSICAL_MASTER
-
DISTRIBUTION_FILE_OG
public static final java.lang.String DISTRIBUTION_FILE_OG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteGotVersionsPreparationPlugin
public DeleteGotVersionsPreparationPlugin()
-
DeleteGotVersionsPreparationPlugin
public DeleteGotVersionsPreparationPlugin(MetaDataClientFactory metaDataClientFactory, DeleteGotVersionsReportService reportService)
-
-
Method Detail
-
execute
public ItemStatus execute(WorkerParameters param, HandlerIO handler)
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
-
generateGotWithDetails
public java.util.List<ObjectGroupToDeleteReportEntry> generateGotWithDetails(ObjectGroupResponse objectGroup, DeleteGotVersionsRequest deleteGotVersionsRequest)
-
-