ExtendedFile

public class ExtendedFile
extends Object

java.lang.Object
   ↳ com.android.tradefed.config.remote.ExtendedFile


ส่วนขยายของไฟล์มาตรฐานเพื่อนำข้อมูลเมตาที่เกี่ยวข้องกับบิลด์

สรุป

ตัวสร้างแบบสาธารณะ

ExtendedFile(File file, String buildId, String buildTarget)
ExtendedFile(File file, String buildId, String buildTarget, String branch)
ExtendedFile(File file, String buildId, String buildTarget, String branch, String remoteFilePath)

เมธอดสาธารณะ

void cancelDownload()
String getBranch()

แสดงผลข้อมูลเมตาของสาขา

String getBuildId()

แสดงผลข้อมูลเมตาของรหัสการสร้าง

String getBuildTarget()

แสดงผลข้อมูลเมตาเป้าหมาย

String getRemoteFilePath()

แสดงผลข้อมูลเมตาของเส้นทางไฟล์ระยะไกล

boolean isDoneDownloadingInParallel()
boolean isDownloadingInParallel()
void setDownloadFuture(ExecutorService serviceUsed, download)
void setDownloadFuture( download)
void waitForDownload()

ตัวสร้างแบบสาธารณะ

ExtendedFile

public ExtendedFile (File file, 
                String buildId, 
                String buildTarget)

พารามิเตอร์
file File

buildId String

buildTarget String

ExtendedFile

public ExtendedFile (File file, 
                String buildId, 
                String buildTarget, 
                String branch)

พารามิเตอร์
file File

buildId String

buildTarget String

branch String

ExtendedFile

public ExtendedFile (File file, 
                String buildId, 
                String buildTarget, 
                String branch, 
                String remoteFilePath)

พารามิเตอร์
file File

buildId String

buildTarget String

branch String

remoteFilePath String

เมธอดสาธารณะ

cancelDownload

public void cancelDownload ()

getBranch

public String getBranch ()

แสดงผลข้อมูลเมตาของสาขา

คิกรีเทิร์น
String

getBuildId

public String getBuildId ()

แสดงผลข้อมูลเมตาของรหัสการสร้าง

คิกรีเทิร์น
String

getBuildTarget

public String getBuildTarget ()

แสดงผลข้อมูลเมตาเป้าหมาย

คิกรีเทิร์น
String

getRemoteFilePath

public String getRemoteFilePath ()

แสดงผลข้อมูลเมตาของเส้นทางไฟล์ระยะไกล

คิกรีเทิร์น
String

isDoneDownloadingInParallel

public boolean isDoneDownloadingInParallel ()

คิกรีเทิร์น
boolean

isDownloadingInParallel

public boolean isDownloadingInParallel ()

คิกรีเทิร์น
boolean

setDownloadFuture

public void setDownloadFuture (ExecutorService serviceUsed, 
                 download)

พารามิเตอร์
serviceUsed ExecutorService

download

setDownloadFuture

public void setDownloadFuture ( download)

พารามิเตอร์
download

waitForDownload

public void waitForDownload ()

การโยน
BuildRetrievalError