IRemoteFileResolver.ResolvedFile

public static class IRemoteFileResolver.ResolvedFile
extends Object

java.lang.Object
   ↳ com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile


這個類別會保留已解析檔案和部分中繼資料的相關資訊。

摘要

公用建構函式

ResolvedFile(File resolvedFile)

公用方法

IRemoteFileResolver.ResolvedFile cleanUp(boolean cleanUp)

是否應在叫用作業結束時刪除已解析的檔案。

File getResolvedFile()
boolean shouldCleanUp()

公用建構函式

ResolvedFile

public ResolvedFile (File resolvedFile)

參數
resolvedFile File

公用方法

cleanUp

public IRemoteFileResolver.ResolvedFile cleanUp (boolean cleanUp)

是否應在叫用作業結束時刪除已解析的檔案。如要保留檔案,請將該值設為 false。例如:您擁有的本機檔案。

參數
cleanUp boolean

傳回
IRemoteFileResolver.ResolvedFile

getResolvedFile

public File getResolvedFile ()

傳回
File

shouldCleanUp

public boolean shouldCleanUp ()

傳回
boolean