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 | 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 staticfromJsonArray (JSONArray arr)
参数 | |
---|---|
arr | JSONArray |
退货 | |
---|---|
投掷 | |
---|---|
JSONException |
获取类名
public String getClassName ()
退货 | |
---|---|
String |