ResolvePartialDownload

public class ResolvePartialDownload
extends Object implements IRemoteFeature, ITestInformationReceiver

java.lang.Object 中
   ↳ com.android.tradefed.testtype.suite.ResolvePartialDownload


解决部分下载请求。

摘要

字段

public static final String DESTINATION_DIR

public static final String EXCLUDE_FILTERS

public static final String INCLUDE_FILTERS

public static final String REMOTE_PATHS

public static final String RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

公共构造函数

ResolvePartialDownload()

受保护的构造函数

ResolvePartialDownload(DynamicRemoteFileResolver resolver)

公共方法

FeatureResponse execute(FeatureRequest request)

根据请求返回 FeatureResponse

String getName()

地图项的名称。

TestInformation getTestInformation()
void setTestInformation(TestInformation testInformation)

字段

DESTINATION_DIR

public static final String DESTINATION_DIR

排除过滤条件

public static final String EXCLUDE_FILTERS

包含过滤条件

public static final String INCLUDE_FILTERS

远程路径

public static final String REMOTE_PATHS

RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

public static final String RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

公共构造函数

ResolvePartialDownload

public ResolvePartialDownload ()

受保护的构造函数

ResolvePartialDownload

protected ResolvePartialDownload (DynamicRemoteFileResolver resolver)

参数
resolver DynamicRemoteFileResolver

公共方法

执行

public FeatureResponse execute (FeatureRequest request)

根据请求返回 FeatureResponse

参数
request FeatureRequest

返回
FeatureResponse

getName

public String getName ()

功能名称。必须与“FeatureRequest#getName()”一致。

返回
String

获取测试信息

public TestInformation getTestInformation ()

返回
TestInformation

setTestInformation

public void setTestInformation (TestInformation testInformation)

参数
testInformation TestInformation