Class Validator
- java.lang.Object
-
- io.jenkins.plugins.servicenow.utils.Validator
-
public class Validator extends Object
Validator class to validate content of fields used by different components of the plugin.
-
-
Constructor Summary
Constructors Constructor Description Validator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
validateInstanceUrl(String instanceUrl)
Validates url of an instance.
-
-
-
Method Detail
-
validateInstanceUrl
public static boolean validateInstanceUrl(String instanceUrl)
Validates url of an instance. The url should start from `http(s)://`.- Parameters:
instanceUrl
- Url of an instance.- Returns:
- true - if successfully validated.
-
-