TradefedConfigObject

public class TradefedConfigObject
extends Object

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


TFC API の TradefedConfigObject メッセージをモデル化するクラス。

TradefedConfigObject メッセージは TestEnvironment メッセージの一部であり、クラスタ コマンド ランチャー構成に追加される追加の ITargetPreparer または ITestInvocationListener を渡すために使用されます。

概要

パブリック メソッド

static TradefedConfigObject fromJson(JSONObject json)
static List<TradefedConfigObject> fromJsonArray(JSONArray arr)
String getClassName()
MultiMap<String, String> getOptionValues()
TradefedConfigObject.Type getType()

パブリック メソッド

fromJson

public static TradefedConfigObject fromJson (JSONObject json)

パラメータ
json JSONObject

戻り値
TradefedConfigObject

例外
JSONException

fromJsonArray

public static List<TradefedConfigObject> fromJsonArray (JSONArray arr)

パラメータ
arr JSONArray

戻り値
List<TradefedConfigObject>

例外
JSONException

getClassName

public String getClassName ()

戻り値
String

getOptionValues

public MultiMap<String, String> getOptionValues ()

戻り値
MultiMap<String, String>

getType

public TradefedConfigObject.Type getType ()

戻り値
TradefedConfigObject.Type