congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SubmittedReportInfo.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.intellij.openapi.diagnostic.SubmittedReportInfo
constructor

Best Java code snippets using com.intellij.openapi.diagnostic.SubmittedReportInfo.<init> (Showing top 8 results out of 315)

origin: KronicDeth/intellij-elixir

  @Override
  public void consume(Boolean opened) {
    String url = null;
    String linkText = null;
    //noinspection ConstantConditions
    final SubmittedReportInfo reportInfo = new SubmittedReportInfo(
        url,
        linkText,
        SubmittedReportInfo.SubmissionStatus.NEW_ISSUE
    );
    consumer.consume(reportInfo);
    // pseudo-named-arguments
    NotificationListener notificationListener = null;
    //noinspection ConstantConditions
    ReportMessages.GROUP.createNotification(
        ReportMessages.ERROR_REPORT,
        "Submitted",
        NotificationType.INFORMATION,
        notificationListener
    ).setImportant(false).notify(project);
  }
};
origin: BashSupport/BashSupport

  @Override
  public void consume(Throwable throwable) {
    LOGGER.info("Error submission failed", throwable);
    consumer.consume(new SubmittedReportInfo(SubmittedReportInfo.SubmissionStatus.FAILED));
  }
}
origin: protostuff/protobuf-jetbrains-plugin

@Override
public boolean submit(@NotNull IdeaLoggingEvent[] events, @Nullable String additionalInfo,
           @NotNull Component parentComponent, @NotNull Consumer<SubmittedReportInfo> consumer) {
  EventBuilder eventBuilder = createEvent(events, additionalInfo);
  sentry.sendEvent(eventBuilder);
  consumer.consume(new SubmittedReportInfo(null, null, NEW_ISSUE));
  Messages.showInfoMessage(parentComponent, DEFAULT_RESPONSE, DEFAULT_RESPONSE_TITLE);
  return true;
}
origin: Camelcade/Perl5-IDEA

 final SubmittedReportInfo reportInfo = new SubmittedReportInfo(SERVER_URL + "issue/" + existing, existing, DUPLICATE);
 popupResultInfo(reportInfo, project);
 return reportInfo;
 return new SubmittedReportInfo(SERVER_ISSUE_URL, "", FAILED);
 return new SubmittedReportInfo(SERVER_ISSUE_URL, "", FAILED);
final SubmittedReportInfo reportInfo = new SubmittedReportInfo(SERVER_URL + "issue/" + ResultString, ResultString, NEW_ISSUE);
origin: cmf/psiviewer

  return new SubmittedReportInfo(SERVER_ISSUE_URL, "", FAILED);
  return new SubmittedReportInfo(SERVER_ISSUE_URL, "", FAILED);
return new SubmittedReportInfo(SERVER_URL + "issue/" + ResultString, ResultString, status);
origin: GoogleCloudPlatform/google-cloud-intellij

 @Override
 public void consume(String token) {
  final SubmittedReportInfo reportInfo =
    new SubmittedReportInfo(
      null, "Issue " + token, SubmittedReportInfo.SubmissionStatus.NEW_ISSUE);
  callback.consume(reportInfo);
  ReportMessages.GROUP
    .createNotification(
      ReportMessages.ERROR_REPORT, "Submitted", NotificationType.INFORMATION, null)
    .setImportant(false)
    .notify(project);
 }
};
origin: BashSupport/BashSupport

  @Override
  public void run(@NotNull ProgressIndicator indicator) {
    indicator.setText("Submitting BashSupport error report...");
    indicator.setIndeterminate(true);
    LoggingEventSubmitter submitter = new TextStreamLoggingEventSubmitter(serverUrl);
    submitter.setPluginId(properties.getProperty(PLUGIN_ID_PROPERTY_KEY));
    submitter.setPluginName(properties.getProperty(PLUGIN_NAME_PROPERTY_KEY));
    submitter.setPluginVersion(properties.getProperty(PLUGIN_VERSION_PROPERTY_KEY));
    submitter.setIdeaBuild(ApplicationInfo.getInstance().getBuild().asString());
    submitter.setEmailTo(splitByBlanks(properties.getProperty(EMAIL_TO_PROPERTY_KEY)));
    submitter.setEmailCc(splitByBlanks(properties.getProperty(EMAIL_CC_PROPERTY_KEY)));
    try {
      submitter.submit(stacktrace, description, user);
      successConsumer.consume(new SubmittedReportInfo(SubmittedReportInfo.SubmissionStatus.NEW_ISSUE));
    } catch (LoggingEventSubmitter.SubmitException e) {
      //ignore
    }
  }
};
origin: halirutan/Mathematica-IntelliJ-Plugin

 final String htmlUrl = newGibHubIssue.getHtmlUrl();
 final String message = ErrorReportBundle.message(isNewIssue ? "git.issue.text" : "git.issue.duplicate.text", htmlUrl, id);
 result = new SubmittedReportInfo(htmlUrl, message, isNewIssue ? SubmissionStatus.NEW_ISSUE : SubmissionStatus.DUPLICATE);
 return result;
} catch (Exception e) {
 return new SubmittedReportInfo(null, ErrorReportBundle.message("report.error.connection.failure"), SubmissionStatus.FAILED);
com.intellij.openapi.diagnosticSubmittedReportInfo<init>

Popular methods of SubmittedReportInfo

  • getLinkText
  • getStatus
  • getURL

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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