Class FixDefaultNotificationRulesConverter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.versioning.converters.FixDefaultNotificationRulesConverter
-
- All Implemented Interfaces:
Converter
public class FixDefaultNotificationRulesConverter extends Object implements Converter
The whole goal is to fix default e-mail notification events (watch my changes): 540 -> 12.540 means:
- responsibility is assigned to me (was applicable for 'my changes', but not now) - 512
- responsibility changes - 16
- build is failing - 8
- build failed - 4
12 means just 'build is failing' and 'build failed'.
The converter works the following way:
- drop 512 from all e-mail rules with non-system wide scope (watch type)
- drop 16 from all e-mail rules with 'watch my changes' scope
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description FixDefaultNotificationRulesConverter()
-
-
-
Method Detail
-
convert
public void convert(@NotNull DBFunctions dbf, @NotNull File teamCityDataDir) throws ConvertException
- Specified by:
convert
in interfaceConverter
teamCityDataDir
- - directory which contains- Throws:
ConvertException
-
-