Thông tin thư mục thiết bịBuilder
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 |
IDeviceBuildInfo
cũng chứa các tạo phẩm xây dựng khác có trong một thư mục trên hệ thống tệp cục bộ.
Bản tóm tắt
Nhà thầu xây dựng công cộng | |
---|---|
DeviceFolderBuildInfo (String buildId, String buildName) | |
DeviceFolderBuildInfo () |
Phương pháp công cộng | |
---|---|
File | getRootDir () Lấy thư mục gốc chứa các tạo phẩm xây dựng. |
void | setDeviceBuild ( IDeviceBuildInfo deviceBuild) Sao chép tất cả các tệp từ |
void | setFolderBuild ( IFolderBuildInfo folderBuild) Sao chép tất cả các tệp từ |
void | setRootDir (File rootDir) Đặt thư mục gốc chứa các tạo phẩm xây dựng. |
Nhà thầu xây dựng công cộng
Thông tin thư mục thiết bịBuilder
public DeviceFolderBuildInfo (String buildId, String buildName)
Thông số | |
---|---|
buildId | String |
buildName | String |
Thông tin thư mục thiết bịBuilder
public DeviceFolderBuildInfo ()
Xem thêm:
Phương pháp công cộng
lấy RootDir
public File getRootDir ()
Lấy thư mục gốc chứa các tạo phẩm xây dựng.
Trả lại | |
---|---|
File | thư mục ERROR(/File) . |
setDeviceBuild
public void setDeviceBuild (IDeviceBuildInfo deviceBuild)
Sao chép tất cả các tệp từ IDeviceBuildInfo
.
Thông số | |
---|---|
deviceBuild | IDeviceBuildInfo |
setFolderBuild
public void setFolderBuild (IFolderBuildInfo folderBuild)
Sao chép tất cả các tệp từ IFolderBuildInfo
.
Thông số | |
---|---|
folderBuild | IFolderBuildInfo |
setRootDir
public void setRootDir (File rootDir)
Đặt thư mục gốc chứa các tạo phẩm xây dựng.
Thông số | |
---|---|
rootDir | File |