DefaultConnection.ConnectionBuilder

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)

公共构造函数

ConnectionBuilder

public ConnectionBuilder (IRunUtil runUtil, 
                ITestDevice device, 
                IBuildInfo buildInfo, 
                ITestLogger logger)

参数
runUtil IRunUtil

device ITestDevice

buildInfo IBuildInfo

logger ITestLogger

公共方法

添加属性

public DefaultConnection.ConnectionBuilder addAttributes (MultiMap<String, String> attributes)

参数
attributes MultiMap

返回
DefaultConnection.ConnectionBuilder

setExistingAvdInfo

public DefaultConnection.ConnectionBuilder setExistingAvdInfo (GceAvdInfo info)

参数
info GceAvdInfo

返回
DefaultConnection.ConnectionBuilder