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