@Override public void calcFillSettings(String field, Map<String, Object> attributes) { initPython(); if (pexec.isImplemented(5)) { pexec.execPythonVoid("calc_fill_settings", field, attributes); } else { super.calcFillSettings(field, attributes); } }
@Override public String getCheckUrl(String fieldName) { initPython(); if (pexec.isImplemented(4)) { return (String) pexec.execPython("get_check_url", fieldName); } else { return super.getCheckUrl(fieldName); } }
@Override public String getDescriptorUrl() { initPython(); if (pexec.isImplemented(3)) { return (String) pexec.execPython("get_descriptor_url"); } else { return super.getDescriptorUrl(); } }
@Override public Class<ToolInstaller> getT() { initPython(); if (pexec.isImplemented(2)) { return (Class) pexec.execPython("get_t"); } else { return super.getT(); } }
@Override public void calcAutoCompleteSettings(String field, Map<String, Object> attributes) { initPython(); if (pexec.isImplemented(6)) { pexec.execPythonVoid("calc_auto_complete_settings", field, attributes); } else { super.calcAutoCompleteSettings(field, attributes); } }
@Override public String getHelpFile() { initPython(); if (pexec.isImplemented(14)) { return (String) pexec.execPython("get_help_file"); } else { return super.getHelpFile(); } }
@Override public void doHelp(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException { initPython(); if (pexec.isImplemented(27)) { pexec.execPythonVoid("do_help", req, rsp); } else { super.doHelp(req, rsp); } }
@Override public boolean isApplicable(Class<? extends ToolInstallation> toolType) { initPython(); if (pexec.isImplemented(0)) { return pexec.execPythonBool("is_applicable", toolType); } else { return super.isApplicable(toolType); } }
@Override public XmlFile getConfigFile() { initPython(); if (pexec.isImplemented(25)) { return (XmlFile) pexec.execPython("get_config_file"); } else { return super.getConfigFile(); } }
@Override public PluginWrapper getPlugin() { initPython(); if (pexec.isImplemented(26)) { return (PluginWrapper) pexec.execPython("get_plugin"); } else { return super.getPlugin(); } }
@Override public synchronized void save() { initPython(); if (pexec.isImplemented(23)) { pexec.execPythonVoid("save"); } else { super.save(); } }
@Override public synchronized void load() { initPython(); if (pexec.isImplemented(24)) { pexec.execPythonVoid("load"); } else { super.load(); } }
@Override public String getGlobalConfigPage() { initPython(); if (pexec.isImplemented(21)) { return (String) pexec.execPython("get_global_config_page"); } else { return super.getGlobalConfigPage(); } }
@Override public List<String> getPossibleViewNames(String baseName) { initPython(); if (pexec.isImplemented(22)) { return (List) pexec.execPython("get_possible_view_names", baseName); } else { return super.getPossibleViewNames(baseName); } }
@Override public String getHelpFile(final String fieldName) { initPython(); if (pexec.isImplemented(15)) { return (String) pexec.execPython("get_help_file", fieldName); } else { return super.getHelpFile(fieldName); } }
@Override public boolean configure(StaplerRequest req, JSONObject json) throws FormException { initPython(); if (pexec.isImplemented(19)) { return pexec.execPythonBool("configure", req, json); } else { return super.configure(req, json); } }
@Override public String getHelpFile(Klass<?> clazz, String fieldName) { initPython(); if (pexec.isImplemented(16)) { return (String) pexec.execPython("get_help_file", clazz, fieldName); } else { return super.getHelpFile(clazz, fieldName); } }
@Override public String getId() { initPython(); if (pexec.isImplemented(1)) { return (String) pexec.execPython("get_id"); } else { return super.getId(); } }
@Override public Klass<?> getKlass() { initPython(); if (pexec.isImplemented(13)) { return (Klass) pexec.execPython("get_klass"); } else { return super.getKlass(); } }
@Override public ToolInstaller newInstance(StaplerRequest req, JSONObject formData) throws FormException { initPython(); if (pexec.isImplemented(12)) { return (ToolInstaller) pexec.execPython("new_instance", req, formData); } else { return super.newInstance(req, formData); } }
@Override public PropertyType getGlobalPropertyType(String field) { initPython(); if (pexec.isImplemented(10)) { return (PropertyType) pexec.execPython("get_global_property_type", field); } else { return super.getGlobalPropertyType(field); } }
@Override public void addHelpFileRedirect( String fieldName, Class<? extends Describable> owner, String fieldNameToRedirectTo) { initPython(); if (pexec.isImplemented(17)) { pexec.execPythonVoid("add_help_file_redirect", fieldName, owner, fieldNameToRedirectTo); } else { super.addHelpFileRedirect(fieldName, owner, fieldNameToRedirectTo); } }
@Override public @Nonnull PropertyType getPropertyTypeOrDie( @Nonnull Object instance, @Nonnull String field) { initPython(); if (pexec.isImplemented(8)) { return (PropertyType) pexec.execPython("get_property_type_or_die", instance, field); } else { return super.getPropertyTypeOrDie(instance, field); } }