TradefedConfigObject

public class TradefedConfigObject
extends Object

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


A class to model a TradefedConfigObject message of TFC API.

A TradefedConfigObject message is a part of a TestEnvironment message and used to pass down extra ITargetPreparer or ITestInvocationListener to be added to a cluster command launcher config.

Summary

Public methods

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

Public methods

fromJson

public static TradefedConfigObject fromJson (JSONObject json)

Parameters
json JSONObject

Returns
TradefedConfigObject

Throws
JSONException

fromJsonArray

public static  fromJsonArray (JSONArray arr)

Parameters
arr JSONArray

Returns

Throws
JSONException

getClassName

public String getClassName ()

Returns
String

getOptionValues

public MultiMap<String, String> getOptionValues ()

Returns
MultiMap<String, String>

getType

public TradefedConfigObject.Type getType ()

Returns
TradefedConfigObject.Type