Class 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 Detail

      • FixDefaultNotificationRulesConverter

        public FixDefaultNotificationRulesConverter()