DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Implementação do lado do servidor do snapshot do dispositivo.
Resumo
Campos | |
---|---|
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
|
Construtores públicos | |
---|---|
DeviceSnapshotFeature()
|
Métodos públicos | |
---|---|
FeatureResponse
|
execute(FeatureRequest request)
Retorna um |
String
|
getName()
Nome do recurso. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Injeta o |
void
|
setTestInformation(TestInformation testInformation)
|
Campos
DEVICE_NAME
public static final String DEVICE_NAME
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
FLAG_RESTORE
public static final String RESTORE_FLAG
ID-SNAPSHOT
public static final String SNAPSHOT_ID
Construtores públicos
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Métodos públicos
executar
public FeatureResponse execute (FeatureRequest request)
Retorna um FeatureResponse
com base na solicitação.
Parâmetros | |
---|---|
request |
FeatureRequest |
Retorna | |
---|---|
FeatureResponse |
getName
public String getName ()
Nome do recurso. Precisa corresponder a FeatureRequest#getName()
.
Retorna | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injeta o IConfiguration
em uso.
Parâmetros | |
---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Parâmetros | |
---|---|
testInformation |
TestInformation |