Class PolyspaceConfigUtils
- java.lang.Object
-
- com.mathworks.polyspace.jenkins.config.PolyspaceConfigUtils
-
public final class PolyspaceConfigUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description PolyspaceConfigUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormValidation
checkPolyspaceAccess(String polyspacePath, String user, String password, String protocol, String host, String port)
static void
checkPolyspaceBinCommandExists(String polyspaceCommand)
static void
checkPolyspaceBinFolderExists(String polyspacePath)
static Boolean
checkPolyspaceCommand(List<String> Command)
static FormValidation
doCheckFilename(String value)
static FormValidation
doCheckPort(String value)
static FormValidation
doCheckProtocol(String value)
static String
exeSuffix()
-
-
-
Method Detail
-
exeSuffix
public static final String exeSuffix()
-
checkPolyspaceBinFolderExists
public static void checkPolyspaceBinFolderExists(String polyspacePath) throws FormValidation
- Throws:
FormValidation
-
checkPolyspaceBinCommandExists
public static void checkPolyspaceBinCommandExists(String polyspaceCommand) throws FormValidation
- Throws:
FormValidation
-
checkPolyspaceAccess
public static FormValidation checkPolyspaceAccess(String polyspacePath, String user, String password, String protocol, String host, String port)
-
doCheckProtocol
public static FormValidation doCheckProtocol(String value)
-
doCheckPort
public static FormValidation doCheckPort(String value)
-
doCheckFilename
public static FormValidation doCheckFilename(String value)
-
-