Class MoveInstalledToolsXmlFileToCachesConverter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.versioning.converters.MoveInstalledToolsXmlFileToCachesConverter
-
- All Implemented Interfaces:
CachesConverter
,Converter
public class MoveInstalledToolsXmlFileToCachesConverter extends Object implements CachesConverter, Converter
This converter is needed to speed up the startup of TeamCity main node.Without this converter 'installedToolsState.xml' would be created from scratch by repacking all tools, which might take quite long time.
-
-
Constructor Summary
Constructors Constructor Description MoveInstalledToolsXmlFileToCachesConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convert(DBFunctions dbf, File teamCityDataDir)
void
setCachesDir(String cachesDir)
-
-
-
Method Detail
-
setCachesDir
public void setCachesDir(@NotNull String cachesDir)
- Specified by:
setCachesDir
in interfaceCachesConverter
-
convert
public void convert(@NotNull DBFunctions dbf, @NotNull File teamCityDataDir) throws ConvertException
- Specified by:
convert
in interfaceConverter
teamCityDataDir
- - directory which contains- Throws:
ConvertException
-
-