public class EnvironmentCopyImpl extends JSONClient implements EnvironmentCopy
baseUrl, FIVE_MINUTES, ONE_MINUTE, password, trustAllSslSocketFactory, username
Constructor and Description |
---|
EnvironmentCopyImpl(String emUrl,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONObject |
createEnvironmentCopy(int environmentId,
int serverId,
String newEnvironmentName,
boolean copyDataRepo,
net.sf.json.JSONObject dataRepoSettings) |
net.sf.json.JSONObject |
getCopyStatus(int id) |
boolean |
monitorEvent(net.sf.json.JSONObject event,
EventMonitor monitor) |
net.sf.json.JSONObject |
removeCopyStatus(int id) |
doDelete, doGet, doGet, doGet, doPost, doPut, makeTrustAllSslSocketFactory
public net.sf.json.JSONObject createEnvironmentCopy(int environmentId, int serverId, String newEnvironmentName, boolean copyDataRepo, net.sf.json.JSONObject dataRepoSettings) throws IOException
createEnvironmentCopy
in interface EnvironmentCopy
IOException
public net.sf.json.JSONObject getCopyStatus(int id) throws IOException
getCopyStatus
in interface EnvironmentCopy
IOException
public net.sf.json.JSONObject removeCopyStatus(int id) throws IOException
removeCopyStatus
in interface EnvironmentCopy
IOException
public boolean monitorEvent(net.sf.json.JSONObject event, EventMonitor monitor) throws IOException
monitorEvent
in interface EnvironmentCopy
IOException
Copyright © 2016–2021 Parasoft. All rights reserved.