Package com.intellij.notification

Examples of com.intellij.notification.NotificationType


          text.append("<br/>").append(DiagnosticBundle.message("error.report.gratitude"));
        } else if (status == DUPLICATE) {
          text.append("<br/>Possible duplicate report");
        }
        text.append("</html>");
        NotificationType type;
        if (status == FAILED) {
          type = NotificationType.ERROR;
        } else if (status == DUPLICATE) {
          type = NotificationType.WARNING;
        } else {
View Full Code Here


    }

    private void sendNotificationForEachBuild(List<Build> buildToSortByDateDescending) {
        for (Build build : buildToSortByDateDescending) {
            BuildStatusEnum status = build.getStatus();
            NotificationType notificationType;
            if (BuildStatusEnum.SUCCESS.equals(status) || BuildStatusEnum.STABLE.equals(status)) {
                notificationType = NotificationType.INFORMATION;
            } else if (BuildStatusEnum.FAILURE.equals(status) || (BuildStatusEnum.UNSTABLE.equals(status))) {
                notificationType = NotificationType.ERROR;
            } else {
View Full Code Here

      // AndroidSDK not working
      // Output Notify
      String groupeDisplayId = "PhoneGap notification";
      String notificationTitle = "PhoneGap Plugin";
      String notificationMessage = "AndroidSDK not detected";
      NotificationType notificationType = NotificationType.ERROR;
      Notification notification = new Notification(groupeDisplayId, notificationTitle, notificationMessage, notificationType);

      Notifications.Bus.notify(notification);
    } finally { }
  }
View Full Code Here

    } catch (Exception e) {
      /* ios-sim not run */
      String groupeDisplayId = "PhoneGap notification";
      String notificationTitle = "PhoneGap Plugin";
      String notificationMessage = "ios-sim not detected";
      NotificationType notificationType = NotificationType.ERROR;
      Notification notification = new Notification(groupeDisplayId, notificationTitle, notificationMessage, notificationType);

      Notifications.Bus.notify(notification);
    }

View Full Code Here

    private static void noPhoneGap() {
        String groupDisplayId = "PhoneGap notification";
        String notificationTitle = "PhoneGap Plugin";
        String notificationMessage = "PhoneGap/Cordova has incorrect executable path";
        NotificationType notificationType = NotificationType.ERROR;
        Notification notification = new Notification(groupDisplayId, notificationTitle, notificationMessage, notificationType);

        Notifications.Bus.notify(notification);
    }
View Full Code Here

      // Node not working
      // Output Notify
      String groupeDisplayId = "PhoneGap notification";
      String notificationTitle = "PhoneGap Plugin";
      String notificationMessage = "NodeJS not detected";
      NotificationType notificationType = NotificationType.ERROR;
      Notification notification = new Notification(groupeDisplayId, notificationTitle, notificationMessage, notificationType);

      Notifications.Bus.notify(notification);
    }
  }
View Full Code Here

TOP

Related Classes of com.intellij.notification.NotificationType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.