ExistingBuildProvider
  public
  
  
  
  class
  ExistingBuildProvider
  
    extends Object
  
  
  
  
  
      implements
      
        IBuildProvider
      
  
  
| java.lang.Object | |
| ↳ | com.android.tradefed.build.ExistingBuildProvider | 
A IBuildProvider that returns an already constructed IBuildInfo.
Summary
| Public constructors | |
|---|---|
| 
      ExistingBuildProvider(IBuildInfo buildInfo, IBuildProvider parentProvider)
      Creates a  | |
| 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
ExistingBuildProvider
public ExistingBuildProvider (IBuildInfo buildInfo, IBuildProvider parentProvider)
Creates a ExistingBuildProvider.
| Parameters | |
|---|---|
| buildInfo | IBuildInfo: the existing build to provide | 
| parentProvider | IBuildProvider: the originalIBuildProviderthat created theIBuildInfoNeeded to pass alongIBuildProvider.buildNotTested(IBuildInfo)events. | 
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: theIBuildInfoto 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 IBuildInfofor build under test ornullif no build is
 available for testing | 
| Throws | |
|---|---|
| BuildRetrievalError | |
