Package com.aq.aqconnect
Class AQRestClient
- java.lang.Object
- 
- com.aq.aqconnect.AQRestClient
 
- 
 public class AQRestClient extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description AQRestClient()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableSSLChecks(Boolean check)StringgetAbortURL(String jobPid)StringgetBaseURL()org.json.simple.JSONObjectgetJobSummary(long runPid, String apiKey, String userId)StringgetResultExternalAccessURL(String jobPid, String tenantCode)voidsetUpBaseURL(String baseURL, String tenantCode)voidsetUpProxy(String proxyHost, int proxyPort)StringtestConnection(String apiKey, String userId, String jobId, String runParam, int maxWaitTime)org.json.simple.JSONObjecttriggerJob(String apiKey, String userId, String jobId, String runParam, int maxWaitTime)
 
- 
- 
- 
Method Detail- 
getBaseURLpublic String getBaseURL() 
 - 
getResultExternalAccessURLpublic String getResultExternalAccessURL(String jobPid, String tenantCode) 
 - 
getJobSummarypublic org.json.simple.JSONObject getJobSummary(long runPid, String apiKey, String userId)
 - 
triggerJobpublic org.json.simple.JSONObject triggerJob(String apiKey, String userId, String jobId, String runParam, int maxWaitTime) throws IOException, org.json.simple.parser.ParseException - Throws:
- IOException
- org.json.simple.parser.ParseException
 
 - 
testConnectionpublic String testConnection(String apiKey, String userId, String jobId, String runParam, int maxWaitTime) throws org.json.simple.parser.ParseException, IOException - Throws:
- org.json.simple.parser.ParseException
- IOException
 
 - 
setUpProxypublic void setUpProxy(String proxyHost, int proxyPort) 
 - 
disableSSLCheckspublic void disableSSLChecks(Boolean check) 
 
- 
 
-