|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudbees.sdk.cli.BeesClientFactory
@CommandScope public class BeesClientFactory
Component that you can inject to your command object to
build BeesAPIClient from a set of command line options.
| Field Summary | |
|---|---|
String |
endPoint
|
String |
key
Bees api key. |
String |
proxyHost
|
String |
proxyPassword
|
String |
proxyPort
|
String |
proxyUser
|
String |
secret
Bees api secret. |
String |
server
|
| Constructor Summary | |
|---|---|
BeesClientFactory()
|
|
| Method Summary | ||
|---|---|---|
com.cloudbees.api.BeesClientConfiguration |
createConfigurations()
Creates a fully populated BeesClientConfiguration based on the current setting. |
|
com.cloudbees.api.BeesClientBase |
get()
|
|
|
get(Class<T> clientType)
|
|
String |
getApiUrl()
|
|
Properties |
getConfigProperties()
|
|
Map<String,String> |
getParameters()
See UserConfiguration for parameters vs config properties |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String server
public String key
public String secret
public String proxyHost
public String proxyPort
public String proxyUser
public String proxyPassword
public String endPoint
| Constructor Detail |
|---|
public BeesClientFactory()
| Method Detail |
|---|
public com.cloudbees.api.BeesClientBase get()
throws IOException
IOException
public <T extends com.cloudbees.api.BeesClientBase> T get(Class<T> clientType)
throws IOException
IOException
public com.cloudbees.api.BeesClientConfiguration createConfigurations()
throws IOException
BeesClientConfiguration based on the current setting.
IOExceptionpublic String getApiUrl()
public Properties getConfigProperties()
public Map<String,String> getParameters()
UserConfiguration for parameters vs config properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||