DeviceSnapshotFeature

public class DeviceSnapshotFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

java.lang.Object
   ↳ com.android.tradefed.device.internal.DeviceSnapshotFeature


设备快照的服务器端实现。

摘要

字段

public static final String DELETE_FLAG

public static final String DEVICE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

public static final String RESTORE_FLAG

public static final String SNAPSHOT_ID

公共构造函数

DeviceSnapshotFeature()

公共方法

FeatureResponse execute(FeatureRequest request)

根据请求返回 FeatureResponse

String getName()

地图项的名称。

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

注入正在使用的 IConfiguration

void setTestInformation(TestInformation testInformation)

字段

DELETE_FLAG

public static final String DELETE_FLAG

DEVICE_NAME

public static final String DEVICE_NAME

DEVICE_SNAPSHOT_FEATURE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

RESTORE_FLAG

public static final String RESTORE_FLAG

SNAPSHOT_ID

public static final String SNAPSHOT_ID

公共构造函数

DeviceSnapshotFeature

public DeviceSnapshotFeature ()

公共方法

execute

public FeatureResponse execute (FeatureRequest request)

根据请求返回 FeatureResponse

参数
request FeatureRequest

返回
FeatureResponse

getName

public String getName ()

功能名称。必须与 FeatureRequest.getName() 一致。

返回
String

getTestInformation

public TestInformation getTestInformation ()

返回
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

注入正在使用的 IConfiguration

参数
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

参数
testInformation TestInformation