ResolvePartialDownload

public class ResolvePartialDownload
extends Object implements IRemoteFeature, ITestInformationReceiver

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


Resolve a partial download request.

Summary

Fields

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

Public constructors

ResolvePartialDownload()

Protected constructors

ResolvePartialDownload(DynamicRemoteFileResolver resolver)

Public methods

FeatureResponse execute(FeatureRequest request)

Returns a FeatureResponse based on the request.

String getName()

Name of the feature.

TestInformation getTestInformation()
void setTestInformation(TestInformation testInformation)

Fields

DESTINATION_DIR

public static final String DESTINATION_DIR

EXCLUDE_FILTERS

public static final String EXCLUDE_FILTERS

INCLUDE_FILTERS

public static final String INCLUDE_FILTERS

REMOTE_PATHS

public static final String REMOTE_PATHS

RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

public static final String RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

Public constructors

ResolvePartialDownload

public ResolvePartialDownload ()

Protected constructors

ResolvePartialDownload

protected ResolvePartialDownload (DynamicRemoteFileResolver resolver)

Parameters
resolver DynamicRemoteFileResolver

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

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation