DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Serverseitige Implementierung von Geräte-Snapshots.
Zusammenfassung
Konstanten | |
|---|---|
String |
DELETE_FLAG
|
String |
DEVICE_NAME
|
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
String |
RESTORE_FLAG
|
String |
SNAPSHOT_ID
|
Öffentliche Konstruktoren | |
|---|---|
DeviceSnapshotFeature()
|
|
Öffentliche Methoden | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Gibt basierend auf der Anfrage ein |
String
|
getName()
Name des Features. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Fügt die verwendete |
void
|
setTestInformation(TestInformation testInformation)
|
Konstanten
DELETE_FLAG
public static final String DELETE_FLAG
Constant Value: "delete_flag"
DEVICE_NAME
public static final String DEVICE_NAME
Konstanter Wert: "device_name"
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
Konstanter Wert: "snapshotDevice"
RESTORE_FLAG
public static final String RESTORE_FLAG
Konstanter Wert: "restore_flag"
SNAPSHOT_ID
public static final String SNAPSHOT_ID
Konstanter Wert: "snapshot_id"
Öffentliche Konstruktoren
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Öffentliche Methoden
execute
public FeatureResponse execute (FeatureRequest request)
Gibt basierend auf der Anfrage ein FeatureResponse zurück.
| Parameter | |
|---|---|
request |
FeatureRequest |
| Returns | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
Name des Features. Muss FeatureRequest.getName() entsprechen.
| Returns | |
|---|---|
String |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Fügt die verwendete IConfiguration ein.
| Parameter | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Parameter | |
|---|---|
testInformation |
TestInformation |