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) |
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() |
boolean |
monitorExecution(net.sf.json.JSONObject history,
EventMonitor monitor) |
doDelete, doGet, doGet, doPostpublic net.sf.json.JSONObject getJobs()
throws IOException
getJobs 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 JobsIOExceptionCopyright © 2016–2017. All rights reserved.