Package com.aq.aqconnect
Class AQRestClient
- java.lang.Object
-
- com.aq.aqconnect.AQRestClient
-
public class AQRestClient extends Object
-
-
Constructor Summary
Constructors Constructor Description AQRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableSSLChecks(Boolean check)
String
getAbortURL(String jobPid)
String
getBaseURL()
org.json.simple.JSONObject
getJobSummary(long runPid, String apiKey, String userId)
String
getResultExternalAccessURL(String jobPid, String tenantCode)
void
setUpBaseURL(String baseURL, String tenantCode)
void
setUpProxy(String proxyHost, int proxyPort)
String
testConnection(String apiKey, String userId, String jobId, String runParam, int maxWaitTime)
org.json.simple.JSONObject
triggerJob(String apiKey, String userId, String jobId, String runParam, int maxWaitTime)
-
-
-
Method Detail
-
getBaseURL
public String getBaseURL()
-
getResultExternalAccessURL
public String getResultExternalAccessURL(String jobPid, String tenantCode)
-
getJobSummary
public org.json.simple.JSONObject getJobSummary(long runPid, String apiKey, String userId)
-
triggerJob
public 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
-
testConnection
public 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
-
setUpProxy
public void setUpProxy(String proxyHost, int proxyPort)
-
disableSSLChecks
public void disableSSLChecks(Boolean check)
-
-