congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
DescribableList.iterator
Code IndexAdd Tabnine to your IDE (free)

How to use
iterator
method
in
hudson.util.DescribableList

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

origin: jenkinsci/envinject-plugin

private void addOrModifyEnvInjectBuildWrapper(
    @Nonnull DescribableList<BuildWrapper, Descriptor<BuildWrapper>> wrappers, 
    @Nonnull BuildWrapper wrapper) throws EnvInjectException {
  //Iterate through all wrappers and remove the envInjectWrapper if exists: only one is authorized and the new wins
  Iterator<BuildWrapper> buildWrapperIterator = wrappers.iterator();
  while (buildWrapperIterator.hasNext()) {
    BuildWrapper buildWrapper = buildWrapperIterator.next();
    if (buildWrapper.getClass().isAssignableFrom(wrapper.getClass())) {
      buildWrapperIterator.remove();
    }
  }
  wrappers.add(wrapper);
}
origin: hudson.plugins/project-inheritance

Iterator<AbstractProjectReference> iter = this.getProjectReferences().iterator(); 
while (iter != null && iter.hasNext()) {
  AbstractProjectReference apr = iter.next();
origin: i-m-c/jenkins-inheritance-plugin

Iterator<AbstractProjectReference> iter = this.getProjectReferences().iterator(); 
while (iter != null && iter.hasNext()) {
  AbstractProjectReference apr = iter.next();
origin: jenkinsci/envinject-plugin

BuildableItemWithBuildWrappers buildableItemWithBuildWrappers = (BuildableItemWithBuildWrappers) item;
DescribableList<BuildWrapper, Descriptor<BuildWrapper>> wrappersList = buildableItemWithBuildWrappers.getBuildWrappersList();
Iterator<BuildWrapper> buildWrapperIterator = wrappersList.iterator();
while (buildWrapperIterator.hasNext()) {
  BuildWrapper buildWrapper = buildWrapperIterator.next();
hudson.utilDescribableListiterator

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,
  • replaceBy,
  • addAllTo,
  • removeAll,
  • size,
  • onModified,
  • clear

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JButton (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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