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.
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
ConstructorDescriptionWorkspaceFilePath
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, boolean errorIfNotExist, boolean expectingFile) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
WorkspaceFilePath
public WorkspaceFilePath(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, boolean errorIfNotExist, boolean expectingFile) Deprecated.
-
-
Method Details
-
check
Deprecated.- Specified by:
check
in classFormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
-
getBaseDirectory
Deprecated.The base directory from which the path name is resolved.
-
FilePath.validateRelativePath(String, boolean, boolean)