DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Serverseitige Implementierung des Geräte-Snapshots.
Zusammenfassung
Felder | |
---|---|
public
static
final
String |
DELETE_FLAG
|
public
static
final
String |
DEVICE_NAME
|
public
static
final
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
public
static
final
String |
RESTORE_FLAG
|
public
static
final
String |
SNAPSHOT_ID
|
Öffentliche Konstruktoren | |
---|---|
DeviceSnapshotFeature()
|
Öffentliche Methoden | |
---|---|
FeatureResponse
|
execute(FeatureRequest request)
Gibt basierend auf der Anfrage eine |
String
|
getName()
Name der Funktion. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Fügt den verwendeten |
void
|
setTestInformation(TestInformation testInformation)
|
Felder
DELETE_FLAG
public static final String DELETE_FLAG
DEVICE_NAME
public static final String DEVICE_NAME
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
RESTORE_FLAG
public static final String RESTORE_FLAG
SNAPSHOT_ID
public static final String SNAPSHOT_ID
Öffentliche Konstruktoren
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Öffentliche Methoden
execute
public FeatureResponse execute (FeatureRequest request)
Gibt basierend auf der Anfrage eine FeatureResponse
zurück.
Parameter | |
---|---|
request |
FeatureRequest |
Returns | |
---|---|
FeatureResponse |
getName
public String getName ()
Name der Funktion. Muss mit FeatureRequest.getName()
übereinstimmen.
Returns | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Fügt den verwendeten IConfiguration
ein.
Parameter | |
---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Parameter | |
---|---|
testInformation |
TestInformation |