public class EnvironmentCopyImpl extends JSONClient implements EnvironmentCopy
baseUrl, password, 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, doPostpublic net.sf.json.JSONObject createEnvironmentCopy(int environmentId,
int serverId,
String newEnvironmentName,
boolean copyDataRepo,
net.sf.json.JSONObject dataRepoSettings)
throws IOException
createEnvironmentCopy in interface EnvironmentCopyIOExceptionpublic net.sf.json.JSONObject getCopyStatus(int id)
throws IOException
getCopyStatus in interface EnvironmentCopyIOExceptionpublic net.sf.json.JSONObject removeCopyStatus(int id)
throws IOException
removeCopyStatus in interface EnvironmentCopyIOExceptionpublic boolean monitorEvent(net.sf.json.JSONObject event,
EventMonitor monitor)
throws IOException
monitorEvent in interface EnvironmentCopyIOExceptionCopyright © 2016. All rights reserved.