Class BackupReport

    • Constructor Detail

      • BackupReport

        public BackupReport()
    • Method Detail

      • getSavedBytes

        public long getSavedBytes()
      • getProgress

        public int getProgress()
      • getTimeSpent

        public long getTimeSpent()
      • addException

        public void addException​(Exception ex)
        Stores an exception.
        Parameters:
        ex -
      • hasExceptions

        public boolean hasExceptions()
        Checks whether exceptions are occured during backup process.
        Returns:
      • getExceptions

        public List<Exception> getExceptions()
        Exceptions occured during backup process.
        Returns:
        list of exceptions (an immutable copy) in time order; or null if no any.
      • setConfig

        public void setConfig​(BackupConfig config)
      • getStartTimestamp

        public Date getStartTimestamp()
      • setStartTimestamp

        public void setStartTimestamp​(Date startTimestamp)
      • getFinishTimestamp

        public Date getFinishTimestamp()
      • setFinishTimestamp

        public void setFinishTimestamp​(Date finishTimestamp)
      • getZipFileName

        public String getZipFileName()
      • setZipFileName

        public void setZipFileName​(String zipFileName)
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • getArchiveSize

        public long getArchiveSize()
      • setArchiveSize

        public void setArchiveSize​(long archiveSize)
      • getCharsetName

        public String getCharsetName()
      • setCharsetName

        public void setCharsetName​(String charsetName)
      • setOverallStatus

        public void setOverallStatus​(BackupStageState overallStatus)
      • setFilesWithErrors

        public void setFilesWithErrors​(List<String> filesWithErrors)
      • getFilesWithErrors

        @NotNull
        public List<String> getFilesWithErrors()