拡張ファイル

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()

buildid メタデータを返します。

String getBuildTarget()

ターゲット メタデータを返します。

String getRemoteFilePath()

リモート ファイルパスのメタデータを返します。

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

パブリック コンストラクタ

拡張ファイル

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

パラメータ
file File

buildId String

buildTarget String

拡張ファイル

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

パラメータ
file File

buildId String

buildTarget String

branch String

拡張ファイル

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

パラメータ
file File

buildId String

buildTarget String

branch String

remoteFilePath String

パブリック メソッド

ダウンロードをキャンセル

public void cancelDownload ()

getBranch

public String getBranch ()

ブランチのメタデータを返します。

戻り値
String

getBuildId

public String getBuildId ()

buildid メタデータを返します。

戻り値
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