StubBuildProvider

public class StubBuildProvider
extends Object implements IBuildProvider

java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider


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

public StubBuildProvider ()

Public methods

buildNotTested

public 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

public void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

getBuild

public 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