TestResource

public class TestResource
extends Object

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


TFC API tarafından döndürülen TestResource mesajını modelleyen bir sınıf.

Özet

Herkese açık yöntemler

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()

Herkese açık yöntemler

fromJson

public static TestResource fromJson (JSONObject json)

Parametreler
json JSONObject

İadeler
TestResource

fromJsonArray

public static List<TestResource> fromJsonArray (JSONArray jsonArray)

Parametreler
jsonArray JSONArray

Döndürülenler
List<TestResource>

Verdiği hatalar
JSONException

getDecompress

public boolean getDecompress ()

İadeler
boolean

getDecompressDir

public String getDecompressDir ()

İadeler
String

getDecompressDir

public File getDecompressDir (File parentDir)

Parametreler
parentDir File

İadeler
File

getDecompressFiles

public List<String> getDecompressFiles ()

İadeler
List<String>

getFile

public File getFile (File parentDir)

Parametreler
parentDir File

İadeler
File

getName

public String getName ()

İadeler
String

getUrl

public String getUrl ()

İadeler
String

mountZip

public boolean mountZip ()

İadeler
boolean

toJson

public JSONObject toJson ()

İadeler
JSONObject

Verdiği hatalar
JSONException