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.WorkspaceFilePath
CHECK, 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, warningWithMarkup
public Executable(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
protected void check() throws IOException, javax.servlet.ServletException
check
in class FormFieldValidator
IOException
javax.servlet.ServletException
protected void checkExecutable(File exe) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2004–2022. All rights reserved.