Class CleanupReportManager
java.lang.Object
fr.gouv.vitam.worker.core.plugin.ingestcleanup.report.CleanupReportManager
In memory report management for ingest cleanup workflow.
Assumes that ingest operations to not exceed 100 000 items.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportReport
(HandlerIO handlerIO, StorageClient storageClient) static Optional<CleanupReportManager>
loadReportDataFromWorkspace
(HandlerIO handlerIO) static CleanupReportManager
void
persistReportDataToWorkspace
(HandlerIO handlerIO) void
reportDeletedObjectGroup
(String id, List<String> objects) void
void
reportObjectGroupError
(String id, String message) void
reportObjectGroupWarning
(String id, String message) void
reportUnitError
(String id, String message) void
reportUnitWarning
(String id, String message)
-
Field Details
-
CLEANUP_REPORT_BACKUP_FILE_NAME
- See Also:
-
-
Method Details
-
reportUnitError
-
reportUnitWarning
-
reportObjectGroupError
-
reportObjectGroupWarning
-
reportDeletedUnit
-
reportDeletedObjectGroup
-
getGlobalStatus
-
persistReportDataToWorkspace
- Throws:
ProcessingStatusException
-
exportReport
public void exportReport(HandlerIO handlerIO, StorageClient storageClient) throws ProcessingStatusException - Throws:
ProcessingStatusException
-
getCleanupReport
-
newReport
-
loadReportDataFromWorkspace
public static Optional<CleanupReportManager> loadReportDataFromWorkspace(HandlerIO handlerIO) throws ProcessingStatusException - Throws:
ProcessingStatusException
-