DeviceSnapshotFeature

public class DeviceSnapshotFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


डिवाइस स्नैपशॉट को सर्वर साइड पर लागू किया गया है.

खास जानकारी

कॉन्स्टेंट

String DELETE_FLAG

String DEVICE_NAME

String DEVICE_SNAPSHOT_FEATURE_NAME

String RESTORE_FLAG

String SNAPSHOT_ID

पब्लिक कंस्ट्रक्टर

DeviceSnapshotFeature()

सार्वजनिक तरीके

FeatureResponse execute(FeatureRequest request)

यह अनुरोध के आधार पर FeatureResponse दिखाता है.

String getName()

सुविधा का नाम.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

इस कुकी का इस्तेमाल, IConfiguration को इंजेक्ट करने के लिए किया जाता है.

void setTestInformation(TestInformation testInformation)

कॉन्स्टेंट

DELETE_FLAG

public static final String DELETE_FLAG

स्थिर वैल्यू: "delete_flag"

DEVICE_NAME

public static final String DEVICE_NAME

स्थिर वैल्यू: "device_name"

DEVICE_SNAPSHOT_FEATURE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

स्थिर वैल्यू: "snapshotDevice"

RESTORE_FLAG

public static final String RESTORE_FLAG

स्थिर वैल्यू: "restore_flag"

SNAPSHOT_ID

public static final String SNAPSHOT_ID

स्थिर वैल्यू: "snapshot_id"

पब्लिक कंस्ट्रक्टर

DeviceSnapshotFeature

public DeviceSnapshotFeature ()

सार्वजनिक तरीके

लागू करना

public FeatureResponse execute (FeatureRequest request)

यह अनुरोध के आधार पर FeatureResponse दिखाता है.

पैरामीटर
request FeatureRequest

रिटर्न
FeatureResponse

getName

public String getName ()

सुविधा का नाम. यह FeatureRequest.getName() से मेल खाना चाहिए.

रिटर्न
String

getTestInformation

public TestInformation getTestInformation ()

रिटर्न
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

इस कुकी का इस्तेमाल, IConfiguration को इंजेक्ट करने के लिए किया जाता है.

पैरामीटर
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

पैरामीटर
testInformation TestInformation