{i>ExtendedFile<i}

public class ExtendedFile
extends Object

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


Ekstensi file standar untuk membawa metadata terkait build.

Ringkasan

Konstruktor publik

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)

Metode publik

void cancelDownload()
String getBranch()

Menampilkan metadata cabang.

String getBuildId()

Menampilkan metadata buildid.

String getBuildTarget()

Menampilkan metadata target.

String getRemoteFilePath()

Menampilkan metadata jalur file jarak jauh.

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

Konstruktor publik

{i>ExtendedFile<i}

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

Parameter
file File

buildId String

buildTarget String

{i>ExtendedFile<i}

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

Parameter
file File

buildId String

buildTarget String

branch String

{i>ExtendedFile<i}

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

Parameter
file File

buildId String

buildTarget String

branch String

remoteFilePath String

Metode publik

batalkanDownload

public void cancelDownload ()

getBranch

public String getBranch ()

Menampilkan metadata cabang.

Hasil
String

getBuildId

public String getBuildId ()

Menampilkan metadata buildid.

Hasil
String

getBuildTarget

public String getBuildTarget ()

Menampilkan metadata target.

Hasil
String

getRemoteFilePath

public String getRemoteFilePath ()

Menampilkan metadata jalur file jarak jauh.

Hasil
String

isDoneDownloadingInParallel

public boolean isDoneDownloadingInParallel ()

Hasil
boolean

isDownloadingInParallel

public boolean isDownloadingInParallel ()

Hasil
boolean

setelDownloadFuture

public void setDownloadFuture (ExecutorService serviceUsed, 
                 download)

Parameter
serviceUsed ExecutorService

download

setelDownloadFuture

public void setDownloadFuture ( download)

Parameter
download

tungguUntukDownload

public void waitForDownload ()

Menampilkan
BuildRetrievalError