com.cloudbees.sdk.api
Class BeesAPIClient
java.lang.Object
com.cloudbees.api.BeesClientBase
com.cloudbees.sdk.api.BeesAPIClient
public class BeesAPIClient
- extends com.cloudbees.api.BeesClientBase
| Fields inherited from class com.cloudbees.api.BeesClientBase |
format |
| Methods inherited from class com.cloudbees.api.BeesClientBase |
executeCometRequest, executeRequest, executeUpload, getApiUrl, getBeesClientConfiguration, getRequestURL, getRequestURL, getResponseString, getSignature, isVerbose, md5, processError, setVerbose, trace, traceResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeesAPIClient
public BeesAPIClient(com.cloudbees.api.BeesClientConfiguration beesClientConfiguration)
BeesAPIClient
public BeesAPIClient(String serverApiUrl,
String apiKey,
String secret,
String format,
String version)
accountKeys
public AccountKeysResponse accountKeys(String domain,
String user,
String password)
throws Exception
- Throws:
Exception
accountList
public AccountListResponse accountList()
throws Exception
- Throws:
Exception
call
public String call(String action,
Map<String,String> params)
throws Exception
- Throws:
Exception
mainCall
public void mainCall(String[] args)
throws Exception
- Throws:
Exception
getXStream
protected com.thoughtworks.xstream.XStream getXStream()
throws Exception
- Throws:
Exception
readResponse
protected Object readResponse(String response)
throws Exception
- Throws:
Exception
Copyright © 2011-2014. All Rights Reserved.