TradefedConfigObject

public class TradefedConfigObject
extends Object

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


Una classe per modellare un messaggio TradefedConfigObject dell'API TFC.

Un messaggio TradefedConfigObject fa parte di un messaggio TestEnvironment e viene utilizzato per trasmettere ITargetPreparer o ITestInvocationListener aggiuntivi da aggiungere a una configurazione di avvio di un comando del cluster.

Riepilogo

Metodi pubblici

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

Metodi pubblici

fromJson

public static TradefedConfigObject fromJson (JSONObject json)

Parametri
json JSONObject

Resi
TradefedConfigObject

Genera
JSONException

fromJsonArray

public static List<TradefedConfigObject> fromJsonArray (JSONArray arr)

Parametri
arr JSONArray

Resi
List<TradefedConfigObject>

Genera
JSONException

getClassName

public String getClassName ()

Resi
String

getOptionValues

public MultiMap<String, String> getOptionValues ()

Resi
MultiMap<String, String>

getType

public TradefedConfigObject.Type getType ()

Resi
TradefedConfigObject.Type