TradefedConfigObjectTradefedConfigObject

public class TradefedConfigObject
extends Object

java.lang.Objeto
com.android.tradefed.cluster.TradefedConfigObject


Una clase para modelar un mensaje TradefedConfigObject de la API de TFC.

Un mensaje TradefedConfigObject es parte de un mensaje TestEnvironment y se usa para transmitir ITargetPreparer o ITestInvocationListener adicionales para agregarlos a una configuración de iniciador de comandos de clúster.

Resumen

Métodos públicos

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

Métodos públicos

Ubicación:Json

public static TradefedConfigObject fromJson (JSONObject json)

Parámetros
json JSONObject

Devoluciones
TradefedConfigObject

Lanza
JSONException

Ubicación:JsonArray

public static  fromJsonArray (JSONArray arr)

Parámetros
arr JSONArray

Devoluciones

Lanza
JSONException

getClassName

public String getClassName ()

Devoluciones
String

getOptionValues

public MultiMap<String, String> getOptionValues ()

Devoluciones
MultiMap <String, String>

obtenerTipo

public TradefedConfigObject.Type getType ()

Devoluciones
TradefedConfigObject.Type