Interface BackupProcessInfo
-
- All Known Implementing Classes:
BackupBriefProcessInfo,BackupFileProcessInfo
public interface BackupProcessInfoBackup brief info. Provides with a brief info about backup that can be get from database. Value object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFileName()Path and name of the backup file, the same asBackupConfig.getFileName().LonggetFileSize()Size of file in bytes.DategetFinishTimestamp()Time when the process finished.intgetId()The internal maintenance process identifier.DategetStartTimestamp()Time when the process started.ProgressStatusgetStatus()The process status.
-
-
-
Method Detail
-
getId
int getId()
The internal maintenance process identifier.- Returns:
- see above.
-
getFileName
@NotNull String getFileName()
Path and name of the backup file, the same asBackupConfig.getFileName().- Returns:
- see above.
-
getFileSize
@Nullable Long getFileSize()
Size of file in bytes.- Returns:
- see above.
-
getStatus
@Nullable ProgressStatus getStatus()
The process status.- Returns:
- see above.
-
getStartTimestamp
@NotNull Date getStartTimestamp()
Time when the process started. Not null.- Returns:
- see above.
-
getFinishTimestamp
@Nullable Date getFinishTimestamp()
Time when the process finished. Can be null.- Returns:
- see above.
-
-