Class FormUtils
- java.lang.Object
-
- jenkins.plugins.office365connector.utils.FormUtils
-
public final class FormUtils extends Object
Collects method for forms.- Author:
- Joseph Petersen (casz@github)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormValidation
formValidateUrl(String value)
Validates data is in expected format either URL or variable reference.static boolean
isUrlValid(String value)
-
-
-
Method Detail
-
formValidateUrl
public static FormValidation formValidateUrl(String value)
Validates data is in expected format either URL or variable reference.- Parameters:
value
- user input to validate- Returns:
- OK or Error on pending user input
-
isUrlValid
public static boolean isUrlValid(String value)
-
-