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 staticfromJsonArray (JSONArray arr)
Parameters | |
---|---|
arr |
JSONArray |
Returns | |
---|---|
|
Throws | |
---|---|
JSONException |
getClassName
public String getClassName ()
Returns | |
---|---|
String |
getOptionValues
public MultiMap<String, String> getOptionValues ()
Returns | |
---|---|
MultiMap<String, String> |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2020-09-08 (世界標準時間)。
[]
[]