StubBuildProvider

public class StubBuildProvider
extends Object implements IBuildProvider

java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider
Known Direct Subclasses
LocalAppBuildProvider A IBuildProvider that constructs a IAppBuildInfo based on a provided local path  
LocalDeviceBuildProvider A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path. 
LocalFolderBuildProvider A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path  


No-op empty implementation of a IBuildProvider.

Will provide an empty BuildInfo with the provided values from options.

Summary

Public constructors

StubBuildProvider()

Public methods

void buildNotTested(IBuildInfo info)

Mark the given build as untested.

void cleanUp(IBuildInfo info)

Clean up any temporary build files.

IBuildInfo getBuild()

Retrieve the data for build under test.

Public constructors

StubBuildProvider

StubBuildProvider ()

Public methods

buildNotTested

void buildNotTested (IBuildInfo info)

Mark the given build as untested.

Called in cases where TradeFederation has failed to complete testing on the build due to an environment problem.

Parameters
info IBuildInfo: the IBuildInfo to reset

cleanUp

void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

getBuild

IBuildInfo getBuild ()

Retrieve the data for build under test.

Returns
IBuildInfo the IBuildInfo for build under test or null if no build is available for testing

Throws
BuildRetrievalError