ResolvePartialDownload

public class ResolvePartialDownload
extends Object implements IRemoteFeature, ITestInformationReceiver

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


解决部分下载请求。

摘要

常量

String DESTINATION_DIR

String EXCLUDE_FILTERS

String INCLUDE_FILTERS

String REMOTE_PATHS

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

常量值: “destination_dir”

EXCLUDE_FILTERS

public static final String EXCLUDE_FILTERS

常量值: "exclude_filters"

INCLUDE_FILTERS

public static final String INCLUDE_FILTERS

常量值: "include_filters"

REMOTE_PATHS

public static final String REMOTE_PATHS

常量值: “remote_paths”

RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

public static final String RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

常量值: “resolvePartialDownload”

公共构造函数

ResolvePartialDownload

public ResolvePartialDownload ()

受保护的构造函数

ResolvePartialDownload

protected ResolvePartialDownload (DynamicRemoteFileResolver resolver)

参数
resolver DynamicRemoteFileResolver

公共方法

execute

public FeatureResponse execute (FeatureRequest request)

根据请求返回 FeatureResponse

参数
request FeatureRequest

返回
FeatureResponse

getName

public String getName ()

功能名称。必须与 FeatureRequest.getName() 一致。

返回
String

getTestInformation

public TestInformation getTestInformation ()

返回
TestInformation

setTestInformation

public void setTestInformation (TestInformation testInformation)

参数
testInformation TestInformation