Class BackupReport
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.BackupReport
-
- All Implemented Interfaces:
Serializable
public class BackupReport extends Object implements Serializable
Backup process report.- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BackupReport()
-
Method Summary
-
-
-
Field Detail
-
preparingStage
public final BackupStageRecord preparingStage
-
databaseStage
public final BackupStageRecord databaseStage
-
configStage
public final BackupStageRecord configStage
-
supplementaryDataStage
public final BackupStageRecord supplementaryDataStage
-
buildLogsStage
public final BackupStageRecord buildLogsStage
-
personalChangesStage
public final BackupStageRecord personalChangesStage
-
finishingStage
public final BackupStageRecord finishingStage
-
stageRecords
public final SortedMap<BackupStage,BackupStageRecord> stageRecords
-
-
Method Detail
-
getSavedBytes
public long getSavedBytes()
-
getProgressInfo
public ProgressInfo getProgressInfo()
-
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.
-
getConfig
public BackupConfig getConfig()
-
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)
-
getOverallStatus
public BackupStageState getOverallStatus()
-
setOverallStatus
public void setOverallStatus(BackupStageState overallStatus)
-
-