TestResource

public class TestResource
extends Object

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


TFC API에서 반환된 TestResource 메시지를 모델링하는 클래스입니다.

요약

공개 메서드

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

공개 메서드

fromJson

public static TestResource fromJson (JSONObject json)

매개변수
json JSONObject

반환
TestResource

fromJsonArray

public static List<TestResource> fromJsonArray (JSONArray jsonArray)

매개변수
jsonArray JSONArray

반환
List<TestResource>

생성 값
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

생성 값
JSONException