public class BackupLogbookManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DIGEST |
static String |
DIGESTTYPE |
static String |
ERROR_MESSAGE |
static String |
FILE_NAME |
static VitamLogger |
LOGGER |
Constructor and Description |
---|
BackupLogbookManager() |
BackupLogbookManager(LogbookOperationsClientFactory logbookClientFactory) |
Modifier and Type | Method and Description |
---|---|
void |
logError(GUID logbookOperationMasterId,
String eventType,
String errorsDetails)
log error (system or technical error)
|
void |
logEventSuccess(GUID logbookOperationMasterId,
String eventType,
String digestStr,
String fileName,
String objectIdentifier)
log end success process
|
public static final VitamLogger LOGGER
public static final String ERROR_MESSAGE
public static final String FILE_NAME
public static final String DIGEST
public static final String DIGESTTYPE
public BackupLogbookManager()
public BackupLogbookManager(LogbookOperationsClientFactory logbookClientFactory)
public void logEventSuccess(GUID logbookOperationMasterId, String eventType, String digestStr, String fileName, String objectIdentifier) throws VitamException
eventType
- the event type to be loggedVitamException
- thrown if the logbook could not be updatedpublic void logError(GUID logbookOperationMasterId, String eventType, String errorsDetails) throws VitamException
logbookOperationMasterId
- eventType
- eventTypeerrorsDetails
- the detail errorVitamException
Copyright © 2018 Vitam. All rights reserved.