Class MoveIdeaToolToBundledToolsDirectoryConverter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.versioning.converters.MoveIdeaToolToBundledToolsDirectoryConverter
-
- All Implemented Interfaces:
CachesConverter
,Converter
public class MoveIdeaToolToBundledToolsDirectoryConverter extends Object implements CachesConverter, Converter
This converter moves IDEA bundled tool from "/plugins/.tools" to " /plugins/.bundledTools". This is needed to avoid adding IDEA to the backup file.
The IDEA bundled tool always has "idea" tool ID. This fact is used to find the record (ToolInfo) of this tool in installedToolsState.xml file. This record is used to get the name of the package that should be moved.
-
-
Constructor Summary
Constructors Constructor Description MoveIdeaToolToBundledToolsDirectoryConverter()
-
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
-
-