FormValidation.validateExecutable(String)@Deprecated public static class FormFieldValidator.Executable extends FormFieldValidator
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.
FormFieldValidator.Base64, FormFieldValidator.Executable, FormFieldValidator.HudsonURL, FormFieldValidator.NonNegativeInteger, FormFieldValidator.URLCheck, FormFieldValidator.WorkspaceDirectory, FormFieldValidator.WorkspaceFileMask, FormFieldValidator.WorkspaceFilePathCHECK, permission, request, response, subject| Constructor and Description |
|---|
Executable(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
check()
Deprecated.
|
protected void |
checkExecutable(File exe)
Deprecated.
Provides an opportunity for derived classes to do additional checks on the executable.
|
error, error, errorWithMarkup, getFileParameter, ok, ok, ok, okWithMarkup, process, respond, warning, warning, warningWithMarkuppublic Executable(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
protected void check()
throws IOException,
javax.servlet.ServletException
check in class FormFieldValidatorIOExceptionjavax.servlet.ServletExceptionprotected void checkExecutable(File exe) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2019. All rights reserved.