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
|
Constructors ציבוריים | |
|---|---|
DeviceSnapshotFeature()
|
|
methods ציבוריים | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
מחזירה |
String
|
getName()
שם התכונה. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
הוספת |
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"
Constructors ציבוריים
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
methods ציבוריים
להריץ
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 |