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 ()

パブリック メソッド

execute

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