DeviceSnapshotFeature

public class DeviceSnapshotFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


การติดตั้งใช้งานสแนปชอตของอุปกรณ์ฝั่งเซิร์ฟเวอร์

สรุป

ค่าคงที่

String DELETE_FLAG

String DEVICE_NAME

String DEVICE_SNAPSHOT_FEATURE_NAME

String RESTORE_FLAG

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

ค่าคงที่: "delete_flag"

DEVICE_NAME

public static final String DEVICE_NAME

ค่าคงที่: "device_name"

DEVICE_SNAPSHOT_FEATURE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

ค่าคงที่: "snapshotDevice"

RESTORE_FLAG

public static final String RESTORE_FLAG

ค่าคงที่: "restore_flag"

SNAPSHOT_ID

public static final String SNAPSHOT_ID

ค่าคงที่: "snapshot_id"

เครื่องมือสร้างสาธารณะ

DeviceSnapshotFeature

public DeviceSnapshotFeature ()

เมธอดสาธารณะ

ดำเนินการ

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