TradefedConfig对象

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

公共方法

来自Json

public static TradefedConfigObject fromJson (JSONObject json)

参数
json JSONObject

退货
TradefedConfigObject

投掷
JSONException

来自JsonArray

public static  fromJsonArray (JSONArray arr)

参数
arr JSONArray

退货

投掷
JSONException

获取类名

public String getClassName ()

退货
String

获取选项值

public MultiMap<String, String> getOptionValues ()

退货
MultiMap <String, String>

获取类型

public TradefedConfigObject.Type getType ()

退货
TradefedConfigObject.Type