Class TeamCityInfoXmlAccessor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.teamCityInfo.TeamCityInfoXmlAccessor
-
public class TeamCityInfoXmlAccessor extends Object
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 16.04.11 14:32
-
-
Constructor Summary
Constructors Constructor Description TeamCityInfoXmlAccessor(EventDispatcher<BuildServerListener> events)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processTeamCityInfoXml(SBuild build, FileUtil.Processor action)
Static method which can be used to process teamcity-info.xml file for particular build.
-
-
-
Constructor Detail
-
TeamCityInfoXmlAccessor
public TeamCityInfoXmlAccessor(@NotNull EventDispatcher<BuildServerListener> events)
-
-
Method Detail
-
processTeamCityInfoXml
public void processTeamCityInfoXml(@NotNull SBuild build, @NotNull FileUtil.Processor action) throws TeamCityInfoException
Static method which can be used to process teamcity-info.xml file for particular build. Does nothing if corresponding file is not available.- Parameters:
buildType
- build configurationbuildId
- build identifierconfigDirectory
- this is SBuildServer#getConfigDiraction
- processor of the teamcity-info.xml file content- Throws:
TeamCityInfoException
- when file processing failed, for instance when XML cannot be validated against schema
-
-