to top
public class

OtaZipfileBuildProvider

extends Object
implements IBuildProvider
java.lang.Object
   ↳ com.android.tradefed.build.OtaZipfileBuildProvider

Class Overview

Provides a IBuildInfo based on a local OTA zip file.

Summary

Fields
private String mOtaZipPath @Option(name = "ota-path", description = "path to the OTA zipfile", importance = com.android.tradefed.config.Option.Importance.IF_UNSET)
Public Constructors
OtaZipfileBuildProvider()
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.build.IBuildProvider

Fields

private String mOtaZipPath

Public Constructors

public OtaZipfileBuildProvider ()

Public Methods

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

public void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

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