Tabnine Logo
SubmittedReportInfo.getStatus
Code IndexAdd Tabnine to your IDE (free)

How to use
getStatus
method
in
com.intellij.openapi.diagnostic.SubmittedReportInfo

Best Java code snippets using com.intellij.openapi.diagnostic.SubmittedReportInfo.getStatus (Showing top 2 results out of 315)

origin: Camelcade/Perl5-IDEA

private static void popupResultInfo(final SubmittedReportInfo reportInfo, final Project project) {
 ApplicationManager.getApplication().invokeLater(() -> {
  StringBuilder text = new StringBuilder("<html>");
  final String url = reportInfo.getStatus() == SubmittedReportInfo.SubmissionStatus.FAILED || reportInfo.getLinkText() == null
            ? null
            : reportInfo.getURL();
  IdeErrorsDialog.appendSubmissionInformation(reportInfo, text);
  text.append(".");
  final SubmittedReportInfo.SubmissionStatus status = reportInfo.getStatus();
  if (status == SubmittedReportInfo.SubmissionStatus.NEW_ISSUE) {
   text.append("<br/>").append(DiagnosticBundle.message("error.report.gratitude"));
origin: halirutan/Mathematica-IntelliJ-Plugin

 @Override
 public void consume(SubmittedReportInfo reportInfo) {
  myOriginalConsumer.consume(reportInfo);
  if (reportInfo.getStatus().equals(SubmissionStatus.FAILED)) {
   ReportMessages.GROUP.createNotification(
     ReportMessages.ERROR_REPORT,
     reportInfo.getLinkText(),
     NotificationType.ERROR,
     null).setImportant(false).notify(myProject);
  } else {
   ReportMessages.GROUP.createNotification(
     ReportMessages.ERROR_REPORT,
     reportInfo.getLinkText(),
     NotificationType.INFORMATION,
     NotificationListener.URL_OPENING_LISTENER).setImportant(false).notify(myProject);
  }
 }
}
com.intellij.openapi.diagnosticSubmittedReportInfogetStatus

Popular methods of SubmittedReportInfo

  • <init>
  • getLinkText
  • getURL

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now