congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DescribableList.replaceBy
Code IndexAdd Tabnine 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)

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

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now