IBuildProvider
public
interface
IBuildProvider
com.android.tradefed.build.IBuildProvider |
Responsible for providing info regarding the build under test.
Summary
Public methods | |
---|---|
default
void
|
buildNotTested(IBuildInfo info)
This method is deprecated. Doesn't have any use cases anymore |
abstract
void
|
cleanUp(IBuildInfo info)
Clean up any temporary build files. |
abstract
IBuildInfo
|
getBuild()
Retrieve the data for build under test. |
Public methods
buildNotTested
public void buildNotTested (IBuildInfo info)
This method is deprecated.
Doesn't have any use cases anymore
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 abstract void cleanUp (IBuildInfo info)
Clean up any temporary build files.
Parameters | |
---|---|
info |
IBuildInfo |
getBuild
public abstract 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 |
if build info failed to be retrieved due to an unexpected error |