Package com.aq.aqconnect
Class AQUtils
- java.lang.Object
-
- com.aq.aqconnect.AQUtils
-
public class AQUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description AQUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormattedTime(long a, long b)
org.apache.http.entity.StringEntity
getRunParam(String jobId, String runParam, int expireTimeInMinutes)
String
getRunParamJsonPayload(String runParamStr)
boolean
isWaitTimeExceeded(long start, int maxWait)
-
-
-
Method Detail
-
getRunParam
public org.apache.http.entity.StringEntity getRunParam(String jobId, String runParam, int expireTimeInMinutes) throws org.json.simple.parser.ParseException
- Throws:
org.json.simple.parser.ParseException
-
getFormattedTime
public String getFormattedTime(long a, long b)
-
isWaitTimeExceeded
public boolean isWaitTimeExceeded(long start, int maxWait)
-
-