public class ThrowableBugBuilder extends BugBuilder
BugBuilderTAG| Constructor and Description |
|---|
ThrowableBugBuilder(DeviceInfo device,
OSInfo os,
ApplicationInfo application,
BugWithThrowable bug)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ThrowableBugBuilder |
build(android.content.Context context,
java.lang.Throwable t,
java.lang.String appName,
java.lang.String packageName,
java.lang.String versionName,
int versionCode)
Builds bug information.
|
static ThrowableBugBuilder |
build(android.content.Context context,
java.lang.Throwable t,
java.lang.String appName,
java.lang.String packageName,
java.lang.String versionName,
int versionCode,
java.lang.Class culprit)
Builds bug information.
|
static ApplicationInfo |
gatherAppInfo(java.lang.String name,
java.lang.String packageName,
java.lang.String versionName,
int versionCode)
Gathers default
ApplicationInfo. |
static BugWithThrowable |
gatherBugInfo(java.lang.Throwable t)
Gathers bug information with the
Throwable provided. |
static BugWithThrowable |
gatherBugInfo(java.lang.Throwable t,
java.lang.Class culprit)
Gathers bug information with the
Throwable provided, a message to describe the bug and the responsible Class. |
static DeviceInfo |
gatherDeviceInfo(android.content.Context context)
Gathers default
DeviceInfo. |
static OSInfo |
gatherOSInfo()
Gathers default
OSInfo. |
getAppInfo, getBugInfo, getDeviceInfo, getOSInfo, setAppInfo, setBugInfo, setDeviceInfo, setOSInfopublic ThrowableBugBuilder(DeviceInfo device, OSInfo os, ApplicationInfo application, BugWithThrowable bug)
public static DeviceInfo gatherDeviceInfo(android.content.Context context)
DeviceInfo.public static ApplicationInfo gatherAppInfo(java.lang.String name, java.lang.String packageName, java.lang.String versionName, int versionCode)
ApplicationInfo.public static BugWithThrowable gatherBugInfo(java.lang.Throwable t)
Throwable provided.public static BugWithThrowable gatherBugInfo(java.lang.Throwable t, java.lang.Class culprit)
Throwable provided, a message to describe the bug Class.public static ThrowableBugBuilder build(android.content.Context context, java.lang.Throwable t, java.lang.String appName, java.lang.String packageName, java.lang.String versionName, int versionCode)
context - [REQUIRED] Application context.t - [REQUIRED] The Throwable associated with this bug.appName - [OPTIONAL] The application's name.packageName - [OPTIONAL] The application's package name.versionName - [OPTIONAL] The application version name.versionCode - [OPTIONAL] The application version code.public static ThrowableBugBuilder build(android.content.Context context, java.lang.Throwable t, java.lang.String appName, java.lang.String packageName, java.lang.String versionName, int versionCode, java.lang.Class culprit)
context - [REQUIRED] Application context.t - [REQUIRED] The Throwable associated with this bug.appName - [OPTIONAL] The application's name.packageName - [OPTIONAL] The application's package name.versionName - [OPTIONAL] The application version name.versionCode - [OPTIONAL] The application version code.culprit - [OPTIONAL] The responsible Class.