Interface BugReportSender.BugReportSendingHandler
-
- All Known Implementing Classes:
DefaultBugReportSendingHandler
- Enclosing class:
- BugReportSender
public static interface BugReportSender.BugReportSendingHandler
Called during bug submission to JOSM bugtracker. Completes the bug report submission and handles errors.- Since:
- 12790
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
failed(String errorMessage, String statusText)
Called when a bug failed to be sent to JOSM bugtracker.String
sendingBugReport(String bugUrl, String statusText)
Called when a bug is sent to JOSM bugtracker.
-
-
-
Method Detail
-
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 websitestatusText
- the status text being sent- Returns:
null
for success or a string in case of an error
-
-