DeviceSnapshotFeature

public class DeviceSnapshotFeature
extends Object implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver

java.lang.Object
com.android.tradefed.device.internal.DeviceSnapshotFeature


Serverseitige Implementierung des Geräte-Snapshots.

Zusammenfassung

Felder

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 Bauträger

DeviceSnapshotFeature ()

Öffentliche Methoden

FeatureResponse execute (FeatureRequest request)

Gibt eine FeatureResponse basierend auf der Anfrage zurück.

String getName ()

Name der Funktion.

TestInformation getTestInformation ()
void setConfiguration ( IConfiguration configuration)

Fügt die verwendete IConfiguration ein.

void setTestInformation ( TestInformation testInformation)

Felder

GERÄTENAME

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 Bauträger

DeviceSnapshotFeature

public DeviceSnapshotFeature ()

Öffentliche Methoden

ausführen

public FeatureResponse execute (FeatureRequest request)

Gibt eine FeatureResponse basierend auf der Anfrage zurück.

Parameter
request FeatureRequest

Kehrt zurück
FeatureResponse

getName

public String getName ()

Name der Funktion. Muss mit FeatureRequest#getName() übereinstimmen.

Kehrt zurück
String

getTestInformation

public TestInformation getTestInformation ()

Kehrt zurück
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Fügt die verwendete IConfiguration ein.

Parameter
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameter
testInformation TestInformation