to top
public class

LocalFolderBuildProvider

extends StubBuildProvider
@OptionClass(alias = "local-folder")
java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider
     ↳ com.android.tradefed.build.LocalFolderBuildProvider

Class Overview

A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path

Summary

Fields
private File mLocalFolder @Option(name = "folder-path", description = "the local filesystem path to build root directory to test.", importance = com.android.tradefed.config.Option.Importance.IF_UNSET)
[Expand]
Inherited Fields
From class com.android.tradefed.build.StubBuildProvider
Public Constructors
LocalFolderBuildProvider()
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 com.android.tradefed.build.StubBuildProvider
From class java.lang.Object
From interface com.android.tradefed.build.IBuildProvider

Fields

private File mLocalFolder

Public Constructors

public LocalFolderBuildProvider ()

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