-
public final class ReportExecutorCollates, records and initiates the sending of a report.
-
-
Constructor Summary
Constructors Constructor Description ReportExecutor(Context context, CoreConfiguration config, CrashReportDataFactory crashReportDataFactory, Thread.UncaughtExceptionHandler defaultExceptionHandler, ProcessFinisher processFinisher, SchedulerStarter schedulerStarter, LastActivityManager lastActivityManager)
-
Method Summary
Modifier and Type Method Description final BooleangetIsEnabled()final UnitsetIsEnabled(Boolean isEnabled)final UnithandReportToDefaultExceptionHandler(Thread t, Throwable e)pass-through to default handler final Unitexecute(ReportBuilder reportBuilder)Try to create a report. -
-
Constructor Detail
-
ReportExecutor
ReportExecutor(Context context, CoreConfiguration config, CrashReportDataFactory crashReportDataFactory, Thread.UncaughtExceptionHandler defaultExceptionHandler, ProcessFinisher processFinisher, SchedulerStarter schedulerStarter, LastActivityManager lastActivityManager)
-
-
Method Detail
-
getIsEnabled
final Boolean getIsEnabled()
-
setIsEnabled
final Unit setIsEnabled(Boolean isEnabled)
-
handReportToDefaultExceptionHandler
final Unit handReportToDefaultExceptionHandler(Thread t, Throwable e)
pass-through to default handler
- Parameters:
t- the crashed threade- the uncaught exception
-
execute
final Unit execute(ReportBuilder reportBuilder)
Try to create a report. Also starts LegacySenderService
- Parameters:
reportBuilder- The report builder used to assemble the report
-
-
-
-