AutoLogCollector

public final enum AutoLogCollector
extends Enum<AutoLogCollector>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.device.metric.AutoLogCollector>
     ↳ com.android.tradefed.device.metric.AutoLogCollector


Enumeration describing which collector can automatically be handled by the harness.

Summary

Enum values

AutoLogCollector  BUGREPORTZ_ON_FAILURE

 

AutoLogCollector  BUGREPORTZ_ON_TESTCASE_FAILURE

 

AutoLogCollector  CLANG_COVERAGE

 

AutoLogCollector  GCOV_COVERAGE

 

AutoLogCollector  HOSTLOG_ON_FAILURE

 

AutoLogCollector  JAVA_COVERAGE

 

AutoLogCollector  LOGCAT_ON_FAILURE

 

AutoLogCollector  MODULE_LOGCAT

 

AutoLogCollector  SCREENSHOT_ON_FAILURE

 

Public methods

BaseDeviceMetricCollector getInstanceForValue()

Returns the instance of collector associated with the AutoLogCollector value.

static AutoLogCollector valueOf(String name)
static final AutoLogCollector[] values()

Enum values

BUGREPORTZ_ON_FAILURE

public static final AutoLogCollector BUGREPORTZ_ON_FAILURE

BUGREPORTZ_ON_TESTCASE_FAILURE

public static final AutoLogCollector BUGREPORTZ_ON_TESTCASE_FAILURE

CLANG_COVERAGE

public static final AutoLogCollector CLANG_COVERAGE

GCOV_COVERAGE

public static final AutoLogCollector GCOV_COVERAGE

HOSTLOG_ON_FAILURE

public static final AutoLogCollector HOSTLOG_ON_FAILURE

JAVA_COVERAGE

public static final AutoLogCollector JAVA_COVERAGE

LOGCAT_ON_FAILURE

public static final AutoLogCollector LOGCAT_ON_FAILURE

MODULE_LOGCAT

public static final AutoLogCollector MODULE_LOGCAT

SCREENSHOT_ON_FAILURE

public static final AutoLogCollector SCREENSHOT_ON_FAILURE

Public methods

getInstanceForValue

public BaseDeviceMetricCollector getInstanceForValue ()

Returns the instance of collector associated with the AutoLogCollector value.

Returns
BaseDeviceMetricCollector

valueOf

public static AutoLogCollector valueOf (String name)

Parameters
name String

Returns
AutoLogCollector

values

public static final AutoLogCollector[] values ()

Returns
AutoLogCollector[]