public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
Object |
executeGET(String targetURL,
Process reqtifyProcess,
boolean buildRequest) |
static String |
findReqtifyPath() |
String |
getBrowserLanguage() |
static List |
getFunctionArgumentsData(String currentJob,
boolean report) |
String |
getLastLineOfFile(String path) |
static String |
getSavedFunctionName(String currentJob) |
static String |
getSavedReportName(String currentJob) |
static String |
getWorkspacePath(String currentJob) |
static void |
initReqtifyProcess() |
boolean |
isLocalPortFree(int port) |
boolean |
isReqtifyProjectExistInWorkspace(FilePath file,
String search) |
int |
nextFreePort(int from,
int to) |
public static String findReqtifyPath() throws IOException
IOException
public Object executeGET(String targetURL, Process reqtifyProcess, boolean buildRequest) throws org.json.simple.parser.ParseException, IOException, ReqtifyException
org.json.simple.parser.ParseException
IOException
ReqtifyException
public boolean isLocalPortFree(int port)
public int nextFreePort(int from, int to)
public boolean isReqtifyProjectExistInWorkspace(FilePath file, String search) throws IOException, InterruptedException
IOException
InterruptedException
public String getBrowserLanguage()
public static List getFunctionArgumentsData(String currentJob, boolean report)
public static String getWorkspacePath(String currentJob) throws UnsupportedEncodingException
UnsupportedEncodingException
public static void initReqtifyProcess() throws IOException
IOException
Copyright © 2016–2020. All rights reserved.