/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Check the existence of sh in the given location. */ public FormValidation doCheckShell(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); }
/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Makes sure that the given string points to an executable file. */ public static FormValidation validateExecutable(String exe) { return validateExecutable(exe, FileValidator.NOOP); }
/** * Check the existence of sh in the given location. */ public FormValidation doCheckShell(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); }
/** * Check the existence of sh in the given location. */ public FormValidation doCheck(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); } }
/** * Check the existence of sh in the given location. */ public FormValidation doCheck(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); }
/** * Checks if cvs executable exists. */ public FormValidation doCheckCvsExe(@QueryParameter String value) { return FormValidation.validateExecutable(value); }
/** * Check the existence of sh in the given location. */ public FormValidation doCheck(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); } }
/** * Check the existence of sh in the given location. */ public FormValidation doCheck(@QueryParameter String value) { // Executable requires admin permission return FormValidation.validateExecutable(value); } }
/** * Checks if cvs executable exists. */ public FormValidation doCheckCvsExe(@QueryParameter String value) { return FormValidation.validateExecutable(value); }
/** * Checks if cleartool executable exists. */ public FormValidation doCleartoolExeCheck(@QueryParameter final String value) throws IOException, ServletException { return FormValidation.validateExecutable(value); }
public FormValidation doCheckHome(@QueryParameter File value) { Jenkins.getInstance().checkPermission(Jenkins.ADMINISTER); String path = value.getPath(); return FormValidation.validateExecutable(path); }
public FormValidation doCheckHome(@QueryParameter File value) throws IOException, ServletException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); String path = value.getPath(); return FormValidation.validateExecutable(path); } }
public FormValidation doCheckHome(@QueryParameter File value) throws IOException, ServletException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); String path = value.getPath(); return FormValidation.validateExecutable(path); } }