jetbrains.buildServer.serverSide.maintenance
Interface BackupInfo


public interface BackupInfo

Backup brief info. Provides with a brief info about backup that can be get from database. Value object.


Method Summary
 java.lang.String getFileName()
          Path and name of the backup file, the same as BackupConfig.getFileName().
 java.lang.Long getFileSize()
          Size of file in bytes.
 java.util.Date getFinishTimestamp()
          Time when the process finished.
 int getId()
          The internal maintenance process identifier.
 java.util.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
java.lang.String getFileName()
Path and name of the backup file, the same as BackupConfig.getFileName().

Returns:
see above.

getFileSize

@Nullable
java.lang.Long getFileSize()
Size of file in bytes.

Returns:
see above.

getStatus

@Nullable
ProgressStatus getStatus()
The process status.

Returns:
see above.

getStartTimestamp

@NotNull
java.util.Date getStartTimestamp()
Time when the process started. Not null.

Returns:
see above.

getFinishTimestamp

@Nullable
java.util.Date getFinishTimestamp()
Time when the process finished. Can be null.

Returns:
see above.