DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Implementacja zrzutu urządzenia po stronie serwera.
Podsumowanie
Stałe | |
|---|---|
String |
DELETE_FLAG
|
String |
DEVICE_NAME
|
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
String |
RESTORE_FLAG
|
String |
SNAPSHOT_ID
|
Publiczne konstruktory | |
|---|---|
DeviceSnapshotFeature()
|
|
Metody publiczne | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Zwraca |
String
|
getName()
Nazwa funkcji. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Wstawia używany element |
void
|
setTestInformation(TestInformation testInformation)
|
Stałe
DELETE_FLAG
public static final String DELETE_FLAG
Wartość stała: "delete_flag"
DEVICE_NAME
public static final String DEVICE_NAME
Wartość stała: "device_name"
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
Wartość stała: „snapshotDevice”
RESTORE_FLAG
public static final String RESTORE_FLAG
Wartość stała: "restore_flag"
SNAPSHOT_ID
public static final String SNAPSHOT_ID
Wartość stała: "snapshot_id"
Publiczne konstruktory
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Metody publiczne
execute
public FeatureResponse execute (FeatureRequest request)
Zwraca FeatureResponse na podstawie żądania.
| Parametry | |
|---|---|
request |
FeatureRequest |
| Zwroty | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
Nazwa funkcji. Musi pasować do: FeatureRequest.getName().
| Zwroty | |
|---|---|
String |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Wstawia używany element IConfiguration.
| Parametry | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Parametry | |
|---|---|
testInformation |
TestInformation |