Interface BugReportSender.BugReportSendingHandler

All Known Implementing Classes:
DefaultBugReportSendingHandler
Enclosing class:
BugReportSender

Called during bug submission to JOSM bugtracker. Completes the bug report submission and handles errors.
Since:
12790
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    failed(String errorMessage, String statusText)
    Called when a bug failed to be sent to JOSM bugtracker.
    sendingBugReport(String bugUrl, String statusText)
    Called when a bug is sent to JOSM bugtracker.
  • Method Details

    • sendingBugReport

      String sendingBugReport(String bugUrl, String statusText)
      Called when a bug is sent to JOSM bugtracker.
      Parameters:
      bugUrl - URL to visit to effectively submit the bug report to JOSM website
      statusText - the status text being sent
      Returns:
      null for success or a string in case of an error
    • failed

      void failed(String errorMessage, String statusText)
      Called when a bug failed to be sent to JOSM bugtracker.
      Parameters:
      errorMessage - the error message
      statusText - the status text being sent