Package hudson.util
Class FormFieldValidator.WorkspaceFilePath
- java.lang.Object
-
- hudson.util.FormFieldValidator
-
- hudson.util.FormFieldValidator.WorkspaceFilePath
-
- Direct Known Subclasses:
FormFieldValidator.WorkspaceDirectory
- Enclosing class:
- FormFieldValidator
@Deprecated public static class FormFieldValidator.WorkspaceFilePath extends FormFieldValidator
Deprecated.as of 1.294. UseFilePath.validateRelativePath(String, boolean, boolean)
Checks a valid file name or directory (specified in the 'value' query parameter) against the current workspace.- Since:
- 1.160
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.util.FormFieldValidator
FormFieldValidator.Base64, FormFieldValidator.Executable, FormFieldValidator.HudsonURL, FormFieldValidator.NonNegativeInteger, FormFieldValidator.URLCheck, FormFieldValidator.WorkspaceDirectory, FormFieldValidator.WorkspaceFileMask, FormFieldValidator.WorkspaceFilePath
-
-
Field Summary
-
Fields inherited from class hudson.util.FormFieldValidator
CHECK, permission, request, response, subject
-
-
Constructor Summary
Constructors Constructor Description WorkspaceFilePath(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, boolean errorIfNotExist, boolean expectingFile)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
check()
Deprecated.protected FilePath
getBaseDirectory(AbstractProject<?,?> p)
Deprecated.The base directory from which the path name is resolved.-
Methods inherited from class hudson.util.FormFieldValidator
error, error, errorWithMarkup, getFileParameter, ok, ok, ok, okWithMarkup, process, respond, warning, warning, warningWithMarkup
-
-
-
-
Method Detail
-
check
protected void check() throws IOException, javax.servlet.ServletException
Deprecated.- Specified by:
check
in classFormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
-
getBaseDirectory
protected FilePath getBaseDirectory(AbstractProject<?,?> p)
Deprecated.The base directory from which the path name is resolved.
-
-