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)
تعرض هذه الدالة |
String
|
getName()
اسم الميزة |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
يُدرِج |
void
|
setTestInformation(TestInformation testInformation)
|
الثوابت
DELETE_FLAG
public static final String DELETE_FLAG
Constant Value: "delete_flag"
DEVICE_NAME
public static final String DEVICE_NAME
القيمة الثابتة: "device_name"
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
Constant Value: "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 |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
يُدرِج IConfiguration المستخدَم.
| المعلمات | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| المعلمات | |
|---|---|
testInformation |
TestInformation |