Class BackupLogbookManager


  • public class BackupLogbookManager
    extends java.lang.Object
    Class manage logbook operations logging
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void logError​(GUID logbookOperationMasterId, java.lang.String eventType, java.lang.String errorsDetails)
      log error (system or technical error)
      void logEventSuccess​(GUID logbookOperationMasterId, java.lang.String eventType, java.lang.String digestStr, java.lang.String fileName, java.lang.String objectIdentifier)
      log end success process
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BackupLogbookManager

        public BackupLogbookManager()
    • Method Detail

      • logEventSuccess

        public void logEventSuccess​(GUID logbookOperationMasterId,
                                    java.lang.String eventType,
                                    java.lang.String digestStr,
                                    java.lang.String fileName,
                                    java.lang.String objectIdentifier)
                             throws VitamException
        log end success process
        Parameters:
        eventType - the event type to be logged
        Throws:
        VitamException - thrown if the logbook could not be updated
      • logError

        public void logError​(GUID logbookOperationMasterId,
                             java.lang.String eventType,
                             java.lang.String errorsDetails)
                      throws VitamException
        log error (system or technical error)
        Parameters:
        logbookOperationMasterId -
        eventType - eventType
        errorsDetails - the detail error
        Throws:
        VitamException