@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
/** * Sets the columns of this view. */ @DataBoundSetter public void setColumns(List<ListViewColumn> columns) throws IOException { this.columns.replaceBy(columns); }
/** * Rebuilds the list by creating a fresh instances from the submitted form. * * <p> * This version works with the {@code <f:hetero-list>} UI tag, where the user * is allowed to create multiple instances of the same descriptor. Order is also * significant. */ public void rebuildHetero(StaplerRequest req, JSONObject formData, Collection<? extends Descriptor<T>> descriptors, String key) throws FormException, IOException { replaceBy(Descriptor.newInstancesFromHeteroList(req,formData,key,descriptors)); }
public ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) { this.name = name; this.home = home; if(properties!=null) { try { this.properties.replaceBy(properties); for (ToolProperty<?> p : properties) _setTool(p,this); } catch (IOException e) { throw new AssertionError(e); // no Saveable, so can't happen } } }
@DataBoundSetter public void setNodeProperties(List<? extends NodeProperty<?>> properties) throws IOException { nodeProperties.replaceBy(properties); }
replaceBy(newList);
this.nodeProperties.replaceBy(nodeProperties); Slave node = (Slave) Jenkins.getInstance().getNode(name);
triggers.replaceBy(buildDescribable(req, Trigger.for_(this))); for (Trigger t : triggers()) t.start(this,true);
@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
@DataBoundConstructor public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException { if (installers != null) { this.installers.replaceBy(installers); } }
/** * Sets the columns of this view. */ @DataBoundSetter public void setColumns(List<ListViewColumn> columns) throws IOException { this.columns.replaceBy(columns); }
/** * Rebuilds the list by creating a fresh instances from the submitted form. * * <p> * This version works with the {@code <f:hetero-list>} UI tag, where the user * is allowed to create multiple instances of the same descriptor. Order is also * significant. */ public void rebuildHetero(StaplerRequest req, JSONObject formData, Collection<? extends Descriptor<T>> descriptors, String key) throws FormException, IOException { replaceBy(Descriptor.newInstancesFromHeteroList(req,formData,key,descriptors)); }
public ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) { this.name = name; this.home = home; if(properties!=null) { try { this.properties.replaceBy(properties); for (ToolProperty<?> p : properties) _setTool(p,this); } catch (IOException e) { throw new AssertionError(e); // no Saveable, so can't happen } } }
@DataBoundSetter public void setNodeProperties(List<? extends NodeProperty<?>> properties) throws IOException { nodeProperties.replaceBy(properties); }
public ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) { this.name = name; this.home = home; if(properties!=null) { try { this.properties.replaceBy(properties); for (ToolProperty<?> p : properties) _setTool(p,this); } catch (IOException e) { throw new AssertionError(e); // no Saveable, so can't happen } } }
public ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) { this.name = name; this.home = home; if(properties!=null) { try { this.properties.replaceBy(properties); for (ToolProperty<?> p : properties) _setTool(p,this); } catch (IOException e) { throw new AssertionError(e); // no Saveable, so can't happen } } }
public ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) { this.name = name; this.home = home; if(properties!=null) { try { this.properties.replaceBy(properties); for (ToolProperty<?> p : properties) _setTool(p,this); } catch (IOException e) { throw new AssertionError(e); // no Saveable, so can't happen } } }