hudson.util
Class FormFieldValidator.Executable
java.lang.Object
hudson.util.FormFieldValidator
hudson.util.FormFieldValidator.Executable
- Enclosing class:
- FormFieldValidator
Deprecated. as of 1.294. Use FormValidation.validateExecutable(String)
public static class FormFieldValidator.Executable
- extends FormFieldValidator
Checks a valid executable binary (specified in the 'value' query parameter).
It has to be either given as a full path to the executable, or else
it will be searched in PATH.
This file also handles ".exe" omission in Windows --- I thought Windows
has actually more generic mechanism for the executable extension omission,
so perhaps this needs to be extended to handle that correctly. More info
needed.
- Since:
- 1.124
Constructor Summary |
FormFieldValidator.Executable(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Deprecated. |
Method Summary |
protected void |
check()
Deprecated. |
protected void |
checkExecutable(File exe)
Deprecated. Provides an opportunity for derived classes to do additional checks on the executable. |
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.Executable
public FormFieldValidator.Executable(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
- Deprecated.
check
protected void check()
throws IOException,
javax.servlet.ServletException
- Deprecated.
- Specified by:
check
in class FormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
checkExecutable
protected void checkExecutable(File exe)
throws IOException,
javax.servlet.ServletException
- Deprecated.
- Provides an opportunity for derived classes to do additional checks on the executable.
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2004-2013. All Rights Reserved.