Package io.jenkins.plugins
Class Utils
java.lang.Object
io.jenkins.plugins.Utils
- Author:
- Dassault Systèmes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteGET(String targetURL, Process reqtifyProcess, boolean buildRequest) static Stringstatic ListgetFunctionArgumentsData(String currentJob, boolean report) getLastLineOfFile(String path) static StringgetSavedFunctionName(String currentJob) static StringgetSavedReportName(String currentJob) static StringgetWorkspacePath(String currentJob) static voidbooleanisLocalPortFree(int port) booleanisReqtifyProjectExistInWorkspace(FilePath file, String search) intnextFreePort(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.ParseExceptionIOExceptionReqtifyException
-
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:
IOExceptionInterruptedException
-
getLastLineOfFile
-
getBrowserLanguage
-
getFunctionArgumentsData
-
getSavedFunctionName
-
getSavedReportName
-
getWorkspacePath
- Throws:
UnsupportedEncodingException
-
initReqtifyProcess
- Throws:
IOException
-