Class RestoreConfig
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.OperationConfig
-
- jetbrains.buildServer.serverSide.maintenance.RestoreConfig
-
- All Implemented Interfaces:
Serializable
public final class RestoreConfig extends OperationConfig implements Serializable
Restoring configuration.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.maintenance.OperationConfig
myIncludeBuildLogs, myIncludeConfiguration, myIncludeDatabase, myIncludePersonalChanges, myIncludeSupplementaryData
-
-
Constructor Summary
Constructors Constructor Description RestoreConfig()Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName()The path and name of an existent backup file to restore data from.StringgetResultFileName()The backup file name (after preprocessing).TableImportTuninggetTuning()booleanisMissingOnly()booleanisPre81Import()booleanisToRestoreDatabasePropertiesFile()Restore also the 'database.properties' file if one exists.voidsetFileName(String fileName)Sets thegetFileName().voidsetMissingOnly(boolean missingOnly)voidsetPre81Import(boolean pre81Import)voidsetToRestoreDatabasePropertiesFile(boolean toRestoreDatabasePropertiesFile)Should restore also the 'database.properties' file if one exists.voidsetTuning(TableImportTuning tuning)-
Methods inherited from class jetbrains.buildServer.serverSide.maintenance.OperationConfig
getOnlyTableNames, getSkipTableNames, hashCode, isIncludeBuildLogs, isIncludeConfiguration, isIncludeDatabase, isIncludePersonalChanges, isIncludeSupplementaryData, isSkipCreateIndices, setIncludeBuildLogs, setIncludeConfiguration, setIncludeDatabase, setIncludePersonalChanges, setIncludeSupplementaryData, setOnlyTableNames, setOnlyTableNames, setSkipCreateIndices, setSkipTableNames, setSkipTableNames, toString
-
-
-
-
Method Detail
-
getFileName
@NotNull public String getFileName()
The path and name of an existent backup file to restore data from. Optionally without '.zip' extension.- Specified by:
getFileNamein classOperationConfig- Returns:
- the name of backup file.
-
setFileName
public void setFileName(String fileName)
Sets thegetFileName().
-
getResultFileName
@NotNull public String getResultFileName()
Description copied from class:OperationConfigThe backup file name (after preprocessing).- Specified by:
getResultFileNamein classOperationConfig- Returns:
- file name (absolute).
-
isPre81Import
public boolean isPre81Import()
-
setPre81Import
public void setPre81Import(boolean pre81Import)
-
isMissingOnly
public boolean isMissingOnly()
-
setMissingOnly
public void setMissingOnly(boolean missingOnly)
-
isToRestoreDatabasePropertiesFile
public boolean isToRestoreDatabasePropertiesFile()
Restore also the 'database.properties' file if one exists.- Returns:
- restore it.
- See Also:
DatabasePropertiesFile.DATABASE_PROPERTIES_FILE_NAME
-
setToRestoreDatabasePropertiesFile
public void setToRestoreDatabasePropertiesFile(boolean toRestoreDatabasePropertiesFile)
Should restore also the 'database.properties' file if one exists.- Parameters:
toRestoreDatabasePropertiesFile- restore it.- See Also:
DatabasePropertiesFile.DATABASE_PROPERTIES_FILE_NAME
-
getTuning
@Nullable public TableImportTuning getTuning()
-
setTuning
public void setTuning(@Nullable TableImportTuning tuning)
-
-