Class BackupSettingsPersistor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.BackupSettingsPersistor
-
public class BackupSettingsPersistor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBackupSettingsPersistor.WrongBooleanValueInXmlException
-
Constructor Summary
Constructors Constructor Description BackupSettingsPersistor(ServerPaths serverPaths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackupPath()static StringgetBackupPath(ServerPaths serverPaths)FilegetBackupSettingsFile()BackupReportgetLastReport()booleanhasLastReport()BackupSettingsloadRecentSettings()org.jdom.ElementserializeRecentSettings(BackupSettings settings)voidsetLastReport(BackupReport lastReport)
-
-
-
Constructor Detail
-
BackupSettingsPersistor
public BackupSettingsPersistor(ServerPaths serverPaths)
-
-
Method Detail
-
getBackupSettingsFile
@NotNull public File getBackupSettingsFile()
-
serializeRecentSettings
@NotNull public org.jdom.Element serializeRecentSettings(@NotNull BackupSettings settings) throws IOException- Throws:
IOException
-
loadRecentSettings
@NotNull public BackupSettings loadRecentSettings()
-
getBackupPath
public String getBackupPath()
-
getBackupPath
@NotNull public static String getBackupPath(@NotNull ServerPaths serverPaths)
-
setLastReport
public void setLastReport(BackupReport lastReport)
-
getLastReport
public BackupReport getLastReport()
-
hasLastReport
public boolean hasLastReport()
-
-