public interface StacksClientConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
PRESTACKS_REPO_PROPERTY |
static String |
REPO_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
int |
getCacheRefreshPeriodInSeconds()
Refresh period of local cache.
|
String |
getProxyHost()
The proxy host.
|
String |
getProxyPassword()
The proxy connection password.
|
int |
getProxyPort()
The proxy port.
|
String |
getProxyUser()
The proxy connection user.
|
URL |
getUrl()
The URL to connect to.
|
boolean |
isOnline()
If this client is using in a online/offline environment
|
void |
setCacheRefreshPeriodInSeconds(int seconds)
Set the refresh period of local cache in seconds
|
void |
setOnline(boolean online)
Set online/offline environment
|
void |
setProxyHost(String proxyHost)
Set the proxy host
|
void |
setProxyPassword(String proxyPassword)
Set the proxy connection password
|
void |
setProxyPort(int proxyPort)
Set the proxy port
|
void |
setProxyUser(String proxyUser)
Set the proxy connection user.
|
void |
setUrl(URL url)
Set the URL to connect to
|
static final String REPO_PROPERTY
static final String PRESTACKS_REPO_PROPERTY
URL getUrl()
void setUrl(URL url)
url - String getProxyHost()
null if no proxy is specifiedvoid setProxyHost(String proxyHost)
proxyHost - int getProxyPort()
void setProxyPort(int proxyPort)
proxyPort - String getProxyUser()
null if not specifiedvoid setProxyUser(String proxyUser)
proxyUser - String getProxyPassword()
null if not specifiedvoid setProxyPassword(String proxyPassword)
proxyPassword - boolean isOnline()
void setOnline(boolean online)
online - int getCacheRefreshPeriodInSeconds()
void setCacheRefreshPeriodInSeconds(int seconds)
seconds - Copyright © 2016. All rights reserved.