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 voidconvert(DBFunctions dbf, File teamCityDataDir)voidconvertXml(File configDir)voidsetReport(ConvertedFilesReport report)Provides a report for affected files for the converter.
-
-
-
Method Detail
-
setReport
public void setReport(@NotNull ConvertedFilesReport report)Description copied from interface:ConvertedFilesReporterProvides a report for affected files for the converter. This method will be called before converter is executed.- Specified by:
setReportin interfaceConvertedFilesReporter- Parameters:
report- report
-
convert
public void convert(@NotNull DBFunctions dbf, @NotNull File teamCityDataDir) throws ConvertException- Specified by:
convertin interfaceConverterteamCityDataDir- - directory which contains- Throws:
ConvertException
-
convertXml
public void convertXml(File configDir)
- Specified by:
convertXmlin interfaceXmlConverter
-
-