public class JobsImpl extends JSONClient implements Jobs
baseUrl, password, username| Constructor and Description |
|---|
JobsImpl(String emUrl,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
deleteHistory(long jobId,
long historyId) |
InputStream |
download(String urlPath) |
net.sf.json.JSONObject |
executeJob(long jobId) |
net.sf.json.JSONObject |
getHistory(long jobId,
long historyId) |
net.sf.json.JSONObject |
getJob(long jobId) |
net.sf.json.JSONObject |
getJobs() |
net.sf.json.JSONObject |
getJobsByName(String name) |
boolean |
monitorExecution(net.sf.json.JSONObject history,
EventMonitor monitor) |
public net.sf.json.JSONObject getJobs()
throws IOException
getJobs in interface JobsIOExceptionpublic net.sf.json.JSONObject getJobsByName(String name) throws IOException
getJobsByName in interface JobsIOExceptionpublic net.sf.json.JSONObject getJob(long jobId)
throws IOException
getJob in interface JobsIOExceptionpublic net.sf.json.JSONObject executeJob(long jobId)
throws IOException
executeJob in interface JobsIOExceptionpublic boolean monitorExecution(net.sf.json.JSONObject history,
EventMonitor monitor)
throws IOException
monitorExecution in interface JobsIOExceptionpublic net.sf.json.JSONObject getHistory(long jobId,
long historyId)
throws IOException
getHistory in interface JobsIOExceptionpublic net.sf.json.JSONObject deleteHistory(long jobId,
long historyId)
throws IOException
deleteHistory in interface JobsIOExceptionpublic InputStream download(String urlPath) throws IOException
download in interface JobsIOExceptionCopyright © 2016–2019 Parasoft. All rights reserved.