Package fr.gouv.vitam.worker.core.plugin
Class UpdateUnitFinalize
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.UpdateUnitFinalize
- All Implemented Interfaces:
VitamAutoCloseable,WorkerAction,AutoCloseable
- Direct Known Subclasses:
BulkAtomicUpdateFinalize,MassUpdateFinalize,RevertUpdateUnitFinalizePlugin
Generate the report :
- compute data from batch-report
- store the report file
- clean the batch-report data
- compute data from batch-report
- store the report file
- clean the batch-report data
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateUnitFinalize(BatchReportClientFactory batchReportClientFactory, LogbookOperationsClientFactory logbookOperationsClientFactory, StorageClientFactory storageClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionexecute(WorkerParameters param, HandlerIO handler) Execute an actionprotected abstract Stringprotected ReportSummarygetReport(LogbookOperation logbook) protected abstract ReportTypeprotected Map<StatusCode,Integer> getStatusStatistic(LogbookEvent logbookEvent) protected abstract Stringprotected abstract StringMethods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
checkMandatoryIOParameter, executeList
-
Constructor Details
-
UpdateUnitFinalize
public UpdateUnitFinalize() -
UpdateUnitFinalize
protected UpdateUnitFinalize(BatchReportClientFactory batchReportClientFactory, LogbookOperationsClientFactory logbookOperationsClientFactory, StorageClientFactory storageClientFactory)
-
-
Method Details
-
execute
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
-
getReport
-
getStatusStatistic
-
getPluginId
-
getUpdateType
-
getUpdateActionKey
-
getReportType
-