public final class FormValidationUtil extends Object
FormValidation utility class.| Modifier and Type | Method and Description |
|---|---|
static hudson.util.FormValidation |
validateWorkspaceTemplate(String value)
Validates the input String to match a specific workspace template.
|
@Nonnull public static hudson.util.FormValidation validateWorkspaceTemplate(@Nonnull String value)
Note: It may show multiple error/warning messages for the same input String. e.g. '/$abc{abc' has 2 error messages and 1 warning: - error: not relative path - error: not valid enclosing parentheses - warning: unsafe standalone '$' usage
value - the input String to be checkedCopyright © 2016. All rights reserved.