public final class ReportExecutor
extends java.lang.Object
Constructor and Description |
---|
ReportExecutor(android.content.Context context,
ACRAConfiguration config,
CrashReportDataFactory crashReportDataFactory,
java.lang.Thread.UncaughtExceptionHandler defaultExceptionHandler,
ReportPrimer reportPrimer,
ProcessFinisher processFinisher) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ReportBuilder reportBuilder)
Try to send a report, if an error occurs stores a report file for a later attempt.
|
void |
handReportToDefaultExceptionHandler(java.lang.Thread t,
java.lang.Throwable e) |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
public ReportExecutor(@NonNull android.content.Context context, @NonNull ACRAConfiguration config, @NonNull CrashReportDataFactory crashReportDataFactory, @Nullable java.lang.Thread.UncaughtExceptionHandler defaultExceptionHandler, @NonNull ReportPrimer reportPrimer, @NonNull ProcessFinisher processFinisher)
public void handReportToDefaultExceptionHandler(@Nullable java.lang.Thread t, @NonNull java.lang.Throwable e)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void execute(@NonNull ReportBuilder reportBuilder)
reportBuilder
- The report builder used to assemble the report