Google is committed to advancing racial equity for Black communities. See how.

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

Nested classes

enum TradefedConfigObject.Type

A list of configuration object types which can be injected to a cluster command config. 

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