Class FormValidationUtils
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.util.FormValidationUtils
-
public final class FormValidationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FormValidationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormValidation
checkBaseUrl(String baseUrl)
Validates that the provided baseUrl value is syntactically valid
-
-
-
Method Detail
-
checkBaseUrl
public static FormValidation checkBaseUrl(String baseUrl)
Validates that the provided baseUrl value is syntactically valid- Parameters:
baseUrl
- the URL to check- Returns:
- FormValidation with Kind.ok if syntactically valid; Kind.error otherwise
-
-