DefaultConnection.ConnectionBuilder

public static class DefaultConnection.ConnectionBuilder
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.connection.DefaultConnection.ConnectionBuilder


Builder used to described the connection.

Summary

Public constructors

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

Public methods

DefaultConnection.ConnectionBuilder addAttributes(MultiMap<String, String> attributes)
DefaultConnection.ConnectionBuilder setExistingAvdInfo(GceAvdInfo info)

Public constructors

ConnectionBuilder

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

Parameters
runUtil IRunUtil

device ITestDevice

buildInfo IBuildInfo

logger ITestLogger

Public methods

addAttributes

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

Parameters
attributes MultiMap

Returns
DefaultConnection.ConnectionBuilder

setExistingAvdInfo

public DefaultConnection.ConnectionBuilder setExistingAvdInfo (GceAvdInfo info)

Parameters
info GceAvdInfo

Returns
DefaultConnection.ConnectionBuilder