Example #1
0
 public void MarkAsInconclusive(AtlassianCiSuiteBuildStatusNotificationProvider.NotificationType notificationType)
 {
     foreach (var provider in this.presentationProviders)
     {
         provider.MarkAsInconclusive(notificationType);
     }
 }
Example #2
0
        public void MarkAsInconclusive(AtlassianCiSuiteBuildStatusNotificationProvider.NotificationType notificationType)
        {
            switch (notificationType)
            {
            case AtlassianCiSuiteBuildStatusNotificationProvider.NotificationType.Build:
                Chroma.Instance.Keyboard.SetKeys(this.keysForMyBuilds, new Color(0.5, 0.0, 0.5));
                Chroma.Instance.Keyboard.SetKey(KeysForAllBuilds, new Color(0.5, 0.0, 0.5));
                break;

            case AtlassianCiSuiteBuildStatusNotificationProvider.NotificationType.PullRequest:
                Chroma.Instance.Keyboard.SetKey(Key.Macro1, Color.Purple);
                break;

            default:
                throw new ArgumentOutOfRangeException(nameof(notificationType), notificationType, null);
            }
        }
Example #3
0
 public void MarkAsInconclusive(AtlassianCiSuiteBuildStatusNotificationProvider.NotificationType notificationType)
 {
     // do nothing yet
 }