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

公共構造函數

解析文件

public ResolvedFile (File resolvedFile)

參數
resolvedFile File

公共方法

清理

public IRemoteFileResolver.ResolvedFile cleanUp (boolean cleanUp)

是否應在調用結束時刪除已解析的文件。對於不應刪除的文件,設置為 false。例如:您擁有的本地文件。

參數
cleanUp boolean

退貨
IRemoteFileResolver.ResolvedFile

獲取解析文件

public File getResolvedFile ()

退貨
File

應該清理

public boolean shouldCleanUp ()

退貨
boolean