FolderBuildInfo

public class FolderBuildInfo
extends BuildInfo implements IFolderBuildInfo

java.lang.Object
   ↳ com.android.tradefed.build.BuildInfo
     ↳ com.android.tradefed.build.FolderBuildInfo


Concrete implementation of a IFolderBuildInfo.

Summary

Public constructors

FolderBuildInfo()
FolderBuildInfo(String buildId, String buildName)
FolderBuildInfo(String buildId, String buildName, Boolean useFuseZip)

Creates a FolderBuildInfo The constructor allows the flag of mUseFuseZip to be configured at the time of building up the FolderBuildInfo.

Public methods

void cleanUp()

Clean up any temporary build files Additionally, unmount fuse-zip mounted files based on the list of fuse-zip mounted files.

File getRootDir()

Get the root folder that contains the build artifacts.

void setRootDir(File rootDir)

Set the root directory that contains the build artifacts.

boolean shouldUseFuseZip()

Get the flag which indicates whether fuse-zip is in use for the build artifacts.

Public constructors

FolderBuildInfo

public FolderBuildInfo ()

FolderBuildInfo

public FolderBuildInfo (String buildId, 
                String buildName)

Parameters
buildId String

buildName String

FolderBuildInfo

public FolderBuildInfo (String buildId, 
                String buildName, 
                Boolean useFuseZip)

Creates a FolderBuildInfo The constructor allows the flag of mUseFuseZip to be configured at the time of building up the FolderBuildInfo.

Parameters
buildId String: the build id

buildName String: the build target name

useFuseZip Boolean: the flag to determine if the build uses zip mounting

Public methods

cleanUp

public void cleanUp ()

Clean up any temporary build files Additionally, unmount fuse-zip mounted files based on the list of fuse-zip mounted files.

getRootDir

public File getRootDir ()

Get the root folder that contains the build artifacts.

Returns
File the ERROR(/File) directory.

setRootDir

public void setRootDir (File rootDir)

Set the root directory that contains the build artifacts.

Parameters
rootDir File

shouldUseFuseZip

public boolean shouldUseFuseZip ()

Get the flag which indicates whether fuse-zip is in use for the build artifacts.

Returns
boolean