Package io.jenkins.plugins
Class Utils
java.lang.Object
io.jenkins.plugins.Utils
- Author:
- Dassault Systèmes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecuteGET
(String targetURL, Process reqtifyProcess, boolean buildRequest) static String
static List
getFunctionArgumentsData
(String currentJob, boolean report) getLastLineOfFile
(String path) static String
getSavedFunctionName
(String currentJob) static String
getSavedReportName
(String currentJob) static String
getWorkspacePath
(String currentJob) static void
boolean
isLocalPortFree
(int port) boolean
isReqtifyProjectExistInWorkspace
(FilePath file, String search) int
nextFreePort
(int from, int to)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
findReqtifyPath
- Throws:
IOException
-
executeGET
public Object executeGET(String targetURL, Process reqtifyProcess, boolean buildRequest) throws org.json.simple.parser.ParseException, IOException, ReqtifyException - Throws:
org.json.simple.parser.ParseException
IOException
ReqtifyException
-
isLocalPortFree
public boolean isLocalPortFree(int port) -
nextFreePort
public int nextFreePort(int from, int to) -
isReqtifyProjectExistInWorkspace
public boolean isReqtifyProjectExistInWorkspace(FilePath file, String search) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getLastLineOfFile
-
getBrowserLanguage
-
getFunctionArgumentsData
-
getSavedFunctionName
-
getSavedReportName
-
getWorkspacePath
- Throws:
UnsupportedEncodingException
-
initReqtifyProcess
- Throws:
IOException
-