Package io.jenkins.plugins.zohoqengine
Class CommonUtils
java.lang.Object
io.jenkins.plugins.zohoqengine.CommonUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LongexecuteTestPlan(Secret apiKey, String requestUrl, String portalName, String projectID, String testPlanID, String buildName, PrintStream ps) static LongextractLongValue(String stringValue) Method to extract long value from stringstatic Stringstatic booleangetTestPlanStatus(Secret apiKey, String requestUrl, String portalName, String projectID, Long runID, PrintStream ps, int maxWaitTime) static StringreadContents(InputStream in, PrintStream ps) Method to read string content from inputstream
-
Constructor Details
-
CommonUtils
public CommonUtils()
-
-
Method Details
-
getQEnginePluginVersion
-
executeTestPlan
public static Long executeTestPlan(Secret apiKey, String requestUrl, String portalName, String projectID, String testPlanID, String buildName, PrintStream ps) throws Exception - Throws:
Exception
-
getTestPlanStatus
public static boolean getTestPlanStatus(Secret apiKey, String requestUrl, String portalName, String projectID, Long runID, PrintStream ps, int maxWaitTime) throws Exception - Throws:
Exception
-
readContents
Method to read string content from inputstream- Parameters:
in-ps-- Returns:
-
extractLongValue
Method to extract long value from string- Parameters:
stringValue-- Returns:
-