TestResource

public class TestResource
extends Object

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


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

Resumen

Métodos públicos

static TestResource fromJson(JSONObject json)
static List<TestResource> fromJsonArray(JSONArray jsonArray)
boolean getDecompress()
String getDecompressDir()
File getDecompressDir(File parentDir)
List<String> 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 List<TestResource> fromJsonArray (JSONArray jsonArray)

Parámetros
jsonArray JSONArray

Muestra
List<TestResource>

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 List<String> getDecompressFiles ()

Muestra
List<String>

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