IRemoteFileResolver.ResolvedFile

public static class IRemoteFileResolver.ResolvedFile
extends Object

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


Class holding information about the resolved file and some metadata.

Summary

Public constructors

ResolvedFile(File resolvedFile)

Public methods

IRemoteFileResolver.ResolvedFile cleanUp(boolean cleanUp)

Whether the resolved file should be deleted at the end of the invocation or not.

File getResolvedFile()
boolean shouldCleanUp()

Public constructors

ResolvedFile

public ResolvedFile (File resolvedFile)

Parameters
resolvedFile File

Public methods

cleanUp

public IRemoteFileResolver.ResolvedFile cleanUp (boolean cleanUp)

Whether the resolved file should be deleted at the end of the invocation or not. Set to false for a file that shouldn't be deleted. For example: a local file you own.

Parameters
cleanUp boolean

Returns
IRemoteFileResolver.ResolvedFile

getResolvedFile

public File getResolvedFile ()

Returns
File

shouldCleanUp

public boolean shouldCleanUp ()

Returns
boolean