ResolvePartialDownload

public class ResolvePartialDownload
extends Object implements IRemoteFeature, ITestInformationReceiver

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


Resolve a partial download request.

Summary

Constants

String DESTINATION_DIR

String EXCLUDE_FILTERS

String INCLUDE_FILTERS

String REMOTE_PATHS

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)

Constants

DESTINATION_DIR

public static final String DESTINATION_DIR

Constant Value: "destination_dir"

EXCLUDE_FILTERS

public static final String EXCLUDE_FILTERS

Constant Value: "exclude_filters"

INCLUDE_FILTERS

public static final String INCLUDE_FILTERS

Constant Value: "include_filters"

REMOTE_PATHS

public static final String REMOTE_PATHS

Constant Value: "remote_paths"

RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

public static final String RESOLVE_PARTIAL_DOWNLOAD_FEATURE_NAME

Constant Value: "resolvePartialDownload"

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