public class BeesAPIClient
extends com.cloudbees.api.BeesClientBase
| Modifier and Type | Class and Description |
|---|---|
static class |
BeesAPIClient.UsageError |
| Constructor and Description |
|---|
BeesAPIClient(com.cloudbees.api.BeesClientConfiguration beesClientConfiguration) |
BeesAPIClient(String serverApiUrl,
String apiKey,
String secret,
String format,
String version) |
| Modifier and Type | Method and Description |
|---|---|
AccountKeysResponse |
accountKeys(String domain,
String user,
String password) |
AccountListResponse |
accountList() |
String |
call(String action,
Map<String,String> params) |
protected com.thoughtworks.xstream.XStream |
getXStream() |
void |
mainCall(String[] args) |
protected Object |
readResponse(String response) |
public BeesAPIClient(com.cloudbees.api.BeesClientConfiguration beesClientConfiguration)
public AccountKeysResponse accountKeys(String domain, String user, String password) throws Exception
Exceptionpublic AccountListResponse accountList() throws Exception
Exceptionpublic String call(String action, Map<String,String> params) throws Exception
Exceptionprotected com.thoughtworks.xstream.XStream getXStream()
throws Exception
ExceptionCopyright © 2011-2013. All Rights Reserved.