Google is committed to advancing racial equity for Black communities. See how.

DeviceFolderBuildInfo

public class DeviceFolderBuildInfo
extends DeviceBuildInfo implements IDeviceBuildInfo, IFolderBuildInfo

java.lang.Object
   ↳ com.android.tradefed.build.BuildInfo
     ↳ com.android.tradefed.build.DeviceBuildInfo
       ↳ com.android.tradefed.build.DeviceFolderBuildInfo


A IDeviceBuildInfo that also contains other build artifacts contained in a directory on the local filesystem.

Summary

Public constructors

DeviceFolderBuildInfo(String buildId, String buildName)
DeviceFolderBuildInfo()

Public methods

File getRootDir()

Get the root folder that contains the build artifacts.

void setDeviceBuild(IDeviceBuildInfo deviceBuild)

Copy all the files from the IDeviceBuildInfo.

void setFolderBuild(IFolderBuildInfo folderBuild)

Copy all the files from the IFolderBuildInfo.

void setRootDir(File rootDir)

Set the root directory that contains the build artifacts.

Public constructors

DeviceFolderBuildInfo

public DeviceFolderBuildInfo (String buildId, 
                String buildName)

Parameters
buildId String

buildName String

DeviceFolderBuildInfo

public DeviceFolderBuildInfo ()

Public methods

getRootDir

public File getRootDir ()

Get the root folder that contains the build artifacts.

Returns
File the ERROR(/File) directory.

setDeviceBuild

public void setDeviceBuild (IDeviceBuildInfo deviceBuild)

Copy all the files from the IDeviceBuildInfo.

Parameters
deviceBuild IDeviceBuildInfo

setFolderBuild

public void setFolderBuild (IFolderBuildInfo folderBuild)

Copy all the files from the IFolderBuildInfo.

Parameters
folderBuild IFolderBuildInfo

setRootDir

public void setRootDir (File rootDir)

Set the root directory that contains the build artifacts.

Parameters
rootDir File