Package fr.gouv.vitam.worker.core.plugin
Class CommonReportService<T>
java.lang.Object
fr.gouv.vitam.worker.core.plugin.CommonReportService<T>
- Direct Known Subclasses:
AuditReportService,DeleteGotVersionsReportService,EliminationActionReportService,EvidenceAuditReportService,PreservationReportService,TraceabilityReportService,TransferReplyReportService
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommonReportService(ReportType reportType) protectedCommonReportService(ReportType reportType, BatchReportClientFactory batchReportClientFactory, WorkspaceClientFactory workspaceClientFactory, StorageClientFactory storageClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendEntries(String processId, List<T> entries) voidcleanupReport(String processId) voiddeleteReportFromWorkspaceIfExists(String processId) booleanisReportWrittenInWorkspace(String processId) voidstoreReportToOffers(String containerName) voidstoreReportToWorkspace(Report reportInfo, WorkFlowExecutionContext executionContext)
-
Field Details
-
JSONL_EXTENSION
- See Also:
-
WORKSPACE_REPORT_URI
- See Also:
-
-
Constructor Details
-
CommonReportService
-
CommonReportService
protected CommonReportService(ReportType reportType, BatchReportClientFactory batchReportClientFactory, WorkspaceClientFactory workspaceClientFactory, StorageClientFactory storageClientFactory)
-
-
Method Details
-
appendEntries
- Throws:
ProcessingStatusException
-
isReportWrittenInWorkspace
- Throws:
ProcessingStatusException
-
deleteReportFromWorkspaceIfExists
- Throws:
ProcessingStatusException
-
storeReportToWorkspace
public void storeReportToWorkspace(Report reportInfo, WorkFlowExecutionContext executionContext) throws ProcessingStatusException - Throws:
ProcessingStatusException
-
storeReportToOffers
- Throws:
ProcessingStatusException
-
cleanupReport
- Throws:
ProcessingStatusException
-