DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Implementazione lato server dello snapshot del dispositivo.
Riepilogo
Costanti | |
|---|---|
String |
DELETE_FLAG
|
String |
DEVICE_NAME
|
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
String |
RESTORE_FLAG
|
String |
SNAPSHOT_ID
|
Costruttori pubblici | |
|---|---|
DeviceSnapshotFeature()
|
|
Metodi pubblici | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Restituisce un |
String
|
getName()
Nome della funzionalità. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Inserisce il |
void
|
setTestInformation(TestInformation testInformation)
|
Costanti
DELETE_FLAG
public static final String DELETE_FLAG
Constant Value: "delete_flag"
DEVICE_NAME
public static final String DEVICE_NAME
Valore costante: "device_name"
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
Valore costante: "snapshotDevice"
RESTORE_FLAG
public static final String RESTORE_FLAG
Constant Value: "restore_flag"
SNAPSHOT_ID
public static final String SNAPSHOT_ID
Valore costante: "snapshot_id"
Costruttori pubblici
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Metodi pubblici
execute
public FeatureResponse execute (FeatureRequest request)
Restituisce un FeatureResponse in base alla richiesta.
| Parametri | |
|---|---|
request |
FeatureRequest |
| Ritorni | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
Nome della funzionalità. Deve corrispondere a FeatureRequest.getName().
| Ritorni | |
|---|---|
String |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Inserisce il IConfiguration in uso.
| Parametri | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Parametri | |
|---|---|
testInformation |
TestInformation |