預設連線.連線建構工具
public
static
class
DefaultConnection.ConnectionBuilder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.connection.DefaultConnection.ConnectionBuilder |
用來描述連線的建構工具。
摘要
公用建構函式 | |
---|---|
ConnectionBuilder(IRunUtil runUtil, ITestDevice device, IBuildInfo buildInfo, ITestLogger logger)
|
公用方法 | |
---|---|
DefaultConnection.ConnectionBuilder
|
addAttributes(MultiMap<String, String> attributes)
|
DefaultConnection.ConnectionBuilder
|
setExistingAvdInfo(GceAvdInfo info)
|
公用建構函式
連線建構工具
public ConnectionBuilder (IRunUtil runUtil, ITestDevice device, IBuildInfo buildInfo, ITestLogger logger)
參數 | |
---|---|
runUtil |
IRunUtil |
device |
ITestDevice |
buildInfo |
IBuildInfo |
logger |
ITestLogger |
公用方法
addAttributes
public DefaultConnection.ConnectionBuilder addAttributes (MultiMap<String, String> attributes)
參數 | |
---|---|
attributes |
MultiMap |
傳回 | |
---|---|
DefaultConnection.ConnectionBuilder |
setExistingAvdInfo
public DefaultConnection.ConnectionBuilder setExistingAvdInfo (GceAvdInfo info)
參數 | |
---|---|
info |
GceAvdInfo |
傳回 | |
---|---|
DefaultConnection.ConnectionBuilder |