Programatically enable/disable a build step

I am implenting a controller to create builds according to a fairly simple set of rules.  I have created a largish template with multiple steps and now want to enable/disable builds steps on the fly

In my controller I am using SBuildType to access the runner collection via SBuildType.getBuildRunners();  So far so good.

The problem is that thre are no methods to enable/disable the various runners.  I had a peek at the properties collection and I have three of them:

teamcity.step.mode looked like a candidate but I can only find the following property name:


which appears to only have the following allowable values:




Can anyone let me know how to do this?

I am using TC 7.1 build 23907

Please sign in to leave a comment.