TestResource

public class TestResource
extends Object

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


מחלקה ליצירת מודל של הודעת TestResource שמוחזרת על ידי TFC API.

סיכום

‫methods ציבוריים

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

‫methods ציבוריים

fromJson

public static TestResource fromJson (JSONObject json)

פרמטרים
json JSONObject

החזרות
TestResource

fromJsonArray

public static List<TestResource> fromJsonArray (JSONArray jsonArray)

פרמטרים
jsonArray JSONArray

החזרות
List<TestResource>

הקפצת הודעות שגיאה (throw)
JSONException

getDecompress

public boolean getDecompress ()

החזרות
boolean

getDecompressDir

public String getDecompressDir ()

החזרות
String

getDecompressDir

public File getDecompressDir (File parentDir)

פרמטרים
parentDir File

החזרות
File

getDecompressFiles

public List<String> getDecompressFiles ()

החזרות
List<String>

getFile

public File getFile (File parentDir)

פרמטרים
parentDir File

החזרות
File

getName

public String getName ()

החזרות
String

getUrl

public String getUrl ()

החזרות
String

mountZip

public boolean mountZip ()

החזרות
boolean

toJson

public JSONObject toJson ()

החזרות
JSONObject

הקפצת הודעות שגיאה (throw)
JSONException