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 class
BackupSettingsPersistor.WrongBooleanValueInXmlException
-
Constructor Summary
Constructors Constructor Description BackupSettingsPersistor(ServerPaths serverPaths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBackupPath()
static String
getBackupPath(ServerPaths serverPaths)
File
getBackupSettingsFile()
BackupReport
getLastReport()
boolean
hasLastReport()
BackupSettings
loadRecentSettings()
org.jdom.Element
serializeRecentSettings(BackupSettings settings)
void
setLastReport(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()
-
-