TradefedConfigObject

public class TradefedConfigObject
extends Object

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


用于对 TFC API 的 TradefedConfigObject 消息进行建模的类。

TradefedConfigObject 消息是 TestEnvironment 消息的一部分,用于向集群命令启动器配置传递要添加的额外 ITargetPreparerITestInvocationListener

摘要

公共方法

static TradefedConfigObject fromJson(JSONObject json)
static 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  fromJsonArray (JSONArray arr)

参数
arr JSONArray

返回

抛出
JSONException

getClassName

public String getClassName ()

返回
String

getOptionValues

public MultiMap<String, String> getOptionValues ()

返回
MultiMap<String, String>

getType

public TradefedConfigObject.Type getType ()

返回
TradefedConfigObject.Type