Class BugReportSender

  • All Implemented Interfaces:
    java.lang.Runnable

    public class BugReportSender
    extends java.lang.Thread
    This class handles sending the bug report to JOSM website.

    Currently, we try to open a browser window for the user that displays the bug report.

    Since:
    10055
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BugReportSender​(java.lang.String statusText)
      Creates a new sender.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorMessage()
      Returns the error message that could have occurred during bug sending.
      private static java.lang.String getJOSMTicketURL()  
      private java.lang.String pasteDebugText()
      Sends the debug text to the server.
      static BugReportSender reportBug​(java.lang.String statusText)
      Opens the bug report window on the JOSM server.
      private static java.lang.String retrieveDebugToken​(org.w3c.dom.Document document)  
      void run()  
      static void setBugReportSendingHandler​(BugReportSender.BugReportSendingHandler bugReportSendingHandler)
      Sets the BugReportSender.BugReportSendingHandler for bug report sender.
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait