Class ExistingPowerShellConfigsToDesktopConverter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.versioning.converters.ExistingPowerShellConfigsToDesktopConverter
-
- All Implemented Interfaces:
ConvertedFilesReporter
,Converter
,XmlConverter
public class ExistingPowerShellConfigsToDesktopConverter extends Object implements XmlConverter, Converter, ConvertedFilesReporter
Converts existing PowerShell build configurations, templates and meta-runners to use Desktop edition of PowerShell by default. Before cross-platform PowerShell support, PowerShell was used only on Windows system, and only in desktop edition. Enabling PowerShell on other platforms along with relaxing edition and bitness restrictions could result in existing build configurations to be run on Core PowerShell installations- Author:
- Oleg Rybak (oleg.rybak@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description ExistingPowerShellConfigsToDesktopConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convert(DBFunctions dbf, File teamCityDataDir)
void
convertXml(File configDir)
void
setReport(ConvertedFilesReport report)
Provides a report for affected files for the converter.
-
-
-
Method Detail
-
setReport
public void setReport(@NotNull ConvertedFilesReport report)
Description copied from interface:ConvertedFilesReporter
Provides a report for affected files for the converter. This method will be called before converter is executed.- Specified by:
setReport
in interfaceConvertedFilesReporter
- Parameters:
report
- report
-
convert
public void convert(@NotNull DBFunctions dbf, @NotNull File teamCityDataDir) throws ConvertException
- Specified by:
convert
in interfaceConverter
teamCityDataDir
- - directory which contains- Throws:
ConvertException
-
convertXml
public void convertXml(File configDir)
- Specified by:
convertXml
in interfaceXmlConverter
-
-