解決部分下載問題

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

INCLUDE_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

公用建構函式

解決部分下載問題

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

getTestInformation

public TestInformation getTestInformation ()

傳回
TestInformation

setTestInformation

public void setTestInformation (TestInformation testInformation)

參數
testInformation TestInformation