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  HOSTLOG_ON_FAILURE

 

AutoLogCollector  LOGCAT_ON_FAILURE

 

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

HOSTLOG_ON_FAILURE

public static final AutoLogCollector HOSTLOG_ON_FAILURE

LOGCAT_ON_FAILURE

public static final AutoLogCollector LOGCAT_ON_FAILURE

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[]