代理配置
public final class ProxyConfiguration
extends Object
java.lang.Object | |
↳ | com.android.tradefed.config.proxy.ProxyConfiguration |
允許指向要執行的遠程配置的對象。
概括
領域 | |
---|---|
public static final String | PROXY_CONFIG_TYPE_KEY
|
公共構造函數 | |
---|---|
ProxyConfiguration () |
公共方法 | |
---|---|
static String[] | clearCommandline (String[] originalCommand) |
File | getProxyConfig () 返回要使用的當前代理配置。 |
boolean | isProxySet () 返回是否設置了代理配置值。 |
領域
PROXY_CONFIG_TYPE_KEY
public static final String PROXY_CONFIG_TYPE_KEY
公共構造函數
代理配置
public ProxyConfiguration ()
公共方法
清除命令行
public static String[] clearCommandline (String[] originalCommand)
參數 | |
---|---|
originalCommand | String |
退貨 | |
---|---|
String[] |
投擲 | |
---|---|
ConfigurationException |
獲取代理配置
public File getProxyConfig ()
返回要使用的當前代理配置。
退貨 | |
---|---|
File |
isProxySet
public boolean isProxySet ()
返回是否設置了代理配置值。
退貨 | |
---|---|
boolean |