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
Checks a valid file name or directory (specified in the 'value' query parameter) against the current workspace.
Since:
1.160
  • Constructor Details

    • WorkspaceFilePath

      public WorkspaceFilePath(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, boolean errorIfNotExist, boolean expectingFile)
      Deprecated.
  • Method Details

    • 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.