Fitur DeviceSnapshot
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Implementasi sisi server snapshot perangkat.
Ringkasan
Kolom | |
---|---|
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
|
Konstruktor publik | |
---|---|
DeviceSnapshotFeature()
|
Metode publik | |
---|---|
FeatureResponse
|
execute(FeatureRequest request)
Menampilkan |
String
|
getName()
Nama fitur. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Memasukkan |
void
|
setTestInformation(TestInformation testInformation)
|
Kolom
DEVICE_NAME
public static final String DEVICE_NAME
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
PULIHKAN_BENDERA
public static final String RESTORE_FLAG
ID_SNAPSHOT
public static final String SNAPSHOT_ID
Konstruktor publik
Fitur DeviceSnapshot
public DeviceSnapshotFeature ()
Metode publik
jalankan
public FeatureResponse execute (FeatureRequest request)
Menampilkan FeatureResponse
berdasarkan permintaan.
Parameter | |
---|---|
request |
FeatureRequest |
Hasil | |
---|---|
FeatureResponse |
getName
public String getName ()
Nama fitur. Harus cocok dengan FeatureRequest#getName()
.
Hasil | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Memasukkan IConfiguration
yang digunakan.
Parameter | |
---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Parameter | |
---|---|
testInformation |
TestInformation |