Codota Logo
DescribableList.replaceBy
Code IndexAdd Codota to your IDE (free)

How to use
replaceBy
method
in
hudson.util.DescribableList

Best Java code snippets using hudson.util.DescribableList.replaceBy (Showing top 20 results out of 315)

  • Common ways to obtain DescribableList
private void myMethod () {
DescribableList d =
  • Codota IconBuildableItemWithBuildWrappers biwbw;biwbw.getBuildWrappersList()
  • Codota IconSaveable owner;new DescribableList<ToolProperty<?>, ToolPropertyDescriptor>(owner)
  • Codota IconListView listView;new DescribableList<ViewJobFilter, Descriptor<ViewJobFilter>>(listView)
  • Smart code suggestions by Codota
}
origin: jenkinsci/jenkins

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: jenkinsci/jenkins

/**
 * Sets the columns of this view.
 */
@DataBoundSetter
public void setColumns(List<ListViewColumn> columns) throws IOException {
  this.columns.replaceBy(columns);
}
origin: jenkinsci/jenkins

/**
 * 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));
}
origin: jenkinsci/jenkins

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
    }
  }
}
origin: jenkinsci/jenkins

@DataBoundSetter
public void setNodeProperties(List<? extends NodeProperty<?>> properties) throws IOException {
  nodeProperties.replaceBy(properties);
}
origin: jenkinsci/jenkins

replaceBy(newList);
origin: jenkinsci/jenkins

this.nodeProperties.replaceBy(nodeProperties);
 Slave node = (Slave) Jenkins.getInstance().getNode(name);
origin: jenkinsci/jenkins

triggers.replaceBy(buildDescribable(req, Trigger.for_(this)));
for (Trigger t : triggers())
  t.start(this,true);
origin: org.jenkins-ci.main/jenkins-core

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: org.eclipse.hudson/hudson-core

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: org.eclipse.hudson.main/hudson-core

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: org.jvnet.hudson.main/hudson-core

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: hudson/hudson-2.x

@DataBoundConstructor
public InstallSourceProperty(List<? extends ToolInstaller> installers) throws IOException {
  if (installers != null) {
    this.installers.replaceBy(installers);
  }
}
origin: org.jenkins-ci.main/jenkins-core

/**
 * Sets the columns of this view.
 */
@DataBoundSetter
public void setColumns(List<ListViewColumn> columns) throws IOException {
  this.columns.replaceBy(columns);
}
origin: org.jenkins-ci.main/jenkins-core

/**
 * 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));
}
origin: org.jenkins-ci.main/jenkins-core

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
    }
  }
}
origin: org.jenkins-ci.main/jenkins-core

@DataBoundSetter
public void setNodeProperties(List<? extends NodeProperty<?>> properties) throws IOException {
  nodeProperties.replaceBy(properties);
}
origin: org.eclipse.hudson.main/hudson-core

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
    }
  }
}
origin: hudson/hudson-2.x

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
    }
  }
}
origin: org.jvnet.hudson.main/hudson-core

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
    }
  }
}
hudson.utilDescribableListreplaceBy

Popular methods of DescribableList

  • get
  • toList
  • add
  • <init>
  • rebuild
  • remove
  • setOwner
  • getAll
  • toMap
    Creates a detached map from the current snapshot of the data, keyed from a descriptor to an instance
  • buildDependencyGraph
    Picks up DependecyDeclarers and allow it to build dependencies.
  • rebuildHetero
    Rebuilds the list by creating a fresh instances from the submitted form. This version works with the
  • addAll
  • rebuildHetero,
  • addAll,
  • isEmpty,
  • replace,
  • addAllTo,
  • removeAll,
  • size,
  • onModified,
  • clear

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now