public class FormValidationUtil extends Object
| Constructor and Description |
|---|
FormValidationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.util.FormValidation |
doCheckEmptyValue(String value,
String fieldName) |
static hudson.util.FormValidation |
restrictLocation(String folderPath,
hudson.model.AbstractBuild<?,?> build)
Checks if folder path is in current workspace path
|
public static hudson.util.FormValidation doCheckEmptyValue(String value, String fieldName)
value - - value to checkfieldName - - name of the field to check@Nonnull public static hudson.util.FormValidation restrictLocation(String folderPath, hudson.model.AbstractBuild<?,?> build) throws IOException, InterruptedException
folderPath - IOExceptionInterruptedExceptionCopyright © 2016–2024. All rights reserved.