Class NotificationGroupFactory

java.lang.Object
com.redhat.devtools.intellij.common.compat.NotificationGroupFactory

public class NotificationGroupFactory extends Object
An adapter that allows to create NotificationGroup and call NotificationGroup.createNotification(String, String, String, NotificationType, NotificationListener) on >= IC-2019.3 and >= IC-2021.3 where the API was broken.
  • IC-2019.3
    
              new NotificationGroup(String displayId, NotificationDisplayType defaultDisplayType, boolean logByDefault)
          
  • IC-2021.3
    
              NotificationGroupManager.getInstance().getNotificationGroup(displayId)
          
  • Constructor Details

    • NotificationGroupFactory

      public NotificationGroupFactory()
  • Method Details

    • create

      public static com.intellij.notification.NotificationGroup create(String displayId, com.intellij.notification.NotificationDisplayType type, boolean logByDefault)