public class EnvironmentsImpl extends JSONClient implements Environments
baseUrl, FIVE_MINUTES, ONE_MINUTE, password, trustAllSslSocketFactory, 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, doGet, doPost, doPut, makeTrustAllSslSocketFactory
public net.sf.json.JSONObject getEnvironmentsV1() throws IOException
getEnvironmentsV1
in interface Environments
IOException
public net.sf.json.JSONObject getEnvironments() throws IOException
getEnvironments
in interface Environments
IOException
public net.sf.json.JSONObject getEnvironment(long environmentId) throws IOException
getEnvironment
in interface Environments
IOException
public net.sf.json.JSONObject getEnvironmentInstances(long environmentId) throws IOException
getEnvironmentInstances
in interface Environments
IOException
public net.sf.json.JSONObject getEnvironmentInstance(long environmentId, long instanceId) throws IOException
getEnvironmentInstance
in interface Environments
IOException
public net.sf.json.JSONObject deleteEnvironment(long environmentId, boolean recursive) throws IOException
deleteEnvironment
in interface Environments
IOException
Copyright © 2016–2021 Parasoft. All rights reserved.