DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Server side implementation of device snapshot.
Summary
Fields | |
---|---|
public
static
final
String |
DELETE_FLAG
|
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
|
Public constructors | |
---|---|
DeviceSnapshotFeature()
|
Public methods | |
---|---|
FeatureResponse
|
execute(FeatureRequest request)
Returns a |
String
|
getName()
Name of the feature. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Injects the |
void
|
setTestInformation(TestInformation testInformation)
|
Fields
DELETE_FLAG
public static final String DELETE_FLAG
DEVICE_NAME
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
Public constructors
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Public methods
execute
public FeatureResponse execute (FeatureRequest request)
Returns a FeatureResponse
based on the request.
Parameters | |
---|---|
request |
FeatureRequest |
Returns | |
---|---|
FeatureResponse |
getName
public String getName ()
Name of the feature. Must match FeatureRequest.getName()
.
Returns | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters | |
---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Parameters | |
---|---|
testInformation |
TestInformation |