public class EnvironmentsImpl extends JSONClient implements Environments
baseUrl, password, username| Constructor and Description |
|---|
EnvironmentsImpl(String emUrl,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
deleteEnvironment(long environmentId,
boolean recursive) |
net.sf.json.JSONObject |
getEnvironment(long environmentId) |
net.sf.json.JSONObject |
getEnvironmentInstance(long environmentId,
long instanceId) |
net.sf.json.JSONObject |
getEnvironmentInstances(long environmentId) |
net.sf.json.JSONObject |
getEnvironments() |
net.sf.json.JSONObject |
getEnvironmentsV1() |
doDelete, doGet, doGet, doPostpublic net.sf.json.JSONObject getEnvironmentsV1()
throws IOException
getEnvironmentsV1 in interface EnvironmentsIOExceptionpublic net.sf.json.JSONObject getEnvironments()
throws IOException
getEnvironments in interface EnvironmentsIOExceptionpublic net.sf.json.JSONObject getEnvironment(long environmentId)
throws IOException
getEnvironment in interface EnvironmentsIOExceptionpublic net.sf.json.JSONObject getEnvironmentInstances(long environmentId)
throws IOException
getEnvironmentInstances in interface EnvironmentsIOExceptionpublic net.sf.json.JSONObject getEnvironmentInstance(long environmentId,
long instanceId)
throws IOException
getEnvironmentInstance in interface EnvironmentsIOExceptionpublic net.sf.json.JSONObject deleteEnvironment(long environmentId,
boolean recursive)
throws IOException
deleteEnvironment in interface EnvironmentsIOExceptionCopyright © 2016. All rights reserved.