Package hudson.util
Class FormFieldValidator.Executable
java.lang.Object
hudson.util.FormFieldValidator
hudson.util.FormFieldValidator.Executable
- Enclosing class:
- FormFieldValidator
Deprecated.
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
-
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
ConstructorDescriptionExecutable
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
Executable
public Executable(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Deprecated.
-
-
Method Details
-
check
Deprecated.- Specified by:
check
in classFormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
-
checkExecutable
Deprecated.Provides an opportunity for derived classes to do additional checks on the executable.- Throws:
IOException
javax.servlet.ServletException
-
FormValidation.validateExecutable(String)