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