Interface BackupProcessInfo
-
- All Known Implementing Classes:
BackupBriefProcessInfo
,BackupFileProcessInfo
public interface BackupProcessInfo
Backup 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 String
getFileName()
Path and name of the backup file, the same asBackupConfig.getFileName()
.Long
getFileSize()
Size of file in bytes.Date
getFinishTimestamp()
Time when the process finished.int
getId()
The internal maintenance process identifier.Date
getStartTimestamp()
Time when the process started.ProgressStatus
getStatus()
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.
-
-