TestResource

public class TestResource
extends Object

java.lang.Object
   ↳ com.android.tradefed.cluster.TestResource


Es una clase para modelar un mensaje de TestResource que muestra la API de TFC.

Resumen

Métodos públicos

static TestResource fromJson(JSONObject json)
static fromJsonArray(JSONArray jsonArray)
boolean getDecompress()
String getDecompressDir()
File getDecompressDir(File parentDir)
getDecompressFiles()
File getFile(File parentDir)
String getName()
String getUrl()
boolean mountZip()
JSONObject toJson()

Métodos públicos

fromJson

public static TestResource fromJson (JSONObject json)

Parámetros
json JSONObject

Muestra
TestResource

fromJsonArray

public static  fromJsonArray (JSONArray jsonArray)

Parámetros
jsonArray JSONArray

Muestra

Arroja
JSONException

getDecompress

public boolean getDecompress ()

Muestra
boolean

getDecompressDir

public String getDecompressDir ()

Muestra
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parámetros
parentDir File

Muestra
File

getDecompressFiles

public  getDecompressFiles ()

Muestra

getFile

public File getFile (File parentDir)

Parámetros
parentDir File

Muestra
File

getName

public String getName ()

Muestra
String

getUrl

public String getUrl ()

Muestra
String

mountZip

public boolean mountZip ()

Muestra
boolean

toJson

public JSONObject toJson ()

Muestra
JSONObject

Arroja
JSONException