hudson.util
Class FormFieldValidator.WorkspaceFilePath
java.lang.Object
hudson.util.FormFieldValidator
hudson.util.FormFieldValidator.WorkspaceFilePath
- Direct Known Subclasses:
- FormFieldValidator.WorkspaceDirectory
- Enclosing class:
- FormFieldValidator
Deprecated. as of 1.294. Use FilePath.validateRelativePath(String, boolean, boolean)
public static class FormFieldValidator.WorkspaceFilePath
- extends FormFieldValidator
Checks a valid file name or directory (specified in the 'value' query parameter) against
the current workspace.
- Since:
- 1.160
Constructor Summary |
FormFieldValidator.WorkspaceFilePath(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
boolean errorIfNotExist,
boolean expectingFile)
Deprecated. |
Methods inherited from class hudson.util.FormFieldValidator |
error, error, errorWithMarkup, getFileParameter, ok, ok, ok, okWithMarkup, process, respond, warning, warning, warningWithMarkup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormFieldValidator.WorkspaceFilePath
public FormFieldValidator.WorkspaceFilePath(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
boolean errorIfNotExist,
boolean expectingFile)
- Deprecated.
check
protected void check()
throws IOException,
javax.servlet.ServletException
- Deprecated.
- Specified by:
check
in class FormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
getBaseDirectory
protected FilePath getBaseDirectory(AbstractProject<?,?> p)
- Deprecated.
- The base directory from which the path name is resolved.
Copyright © 2004-2013. All Rights Reserved.