Class RunContainerImpl

java.lang.Object
io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueRun>
io.jenkins.blueocean.rest.model.BlueRunContainer
io.jenkins.blueocean.service.embedded.rest.RunContainerImpl
All Implemented Interfaces:
io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueRun>, io.jenkins.blueocean.rest.Reachable, Iterable<io.jenkins.blueocean.rest.model.BlueRun>

public class RunContainerImpl extends io.jenkins.blueocean.rest.model.BlueRunContainer
Author:
Vivek Pandey
  • Constructor Summary

    Constructors
    Constructor
    Description
    RunContainerImpl(io.jenkins.blueocean.rest.model.BluePipeline pipeline, Job job)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.jenkins.blueocean.rest.model.BlueRun
    create(org.kohsuke.stapler.StaplerRequest request)
    Schedules a build.
    io.jenkins.blueocean.rest.model.BlueRun
    get(String name)
     
    io.jenkins.blueocean.rest.hal.Link
     
    Iterator<io.jenkins.blueocean.rest.model.BlueRun>
     
    Iterator<io.jenkins.blueocean.rest.model.BlueRun>
    iterator(int start, int limit)
     

    Methods inherited from class io.jenkins.blueocean.rest.model.Container

    getDynamic, list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • RunContainerImpl

      public RunContainerImpl(@NonNull io.jenkins.blueocean.rest.model.BluePipeline pipeline, @NonNull Job job)
  • Method Details

    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • get

      public io.jenkins.blueocean.rest.model.BlueRun get(String name)
      Specified by:
      get in class io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueRun>
    • iterator

      public Iterator<io.jenkins.blueocean.rest.model.BlueRun> iterator()
    • iterator

      public Iterator<io.jenkins.blueocean.rest.model.BlueRun> iterator(int start, int limit)
      Specified by:
      iterator in interface io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueRun>
      Overrides:
      iterator in class io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueRun>
    • create

      public io.jenkins.blueocean.rest.model.BlueRun create(org.kohsuke.stapler.StaplerRequest request)
      Schedules a build. If build already exists in the queue and the pipeline does not support running multiple builds at the same time, return a reference to the existing build.
      Specified by:
      create in class io.jenkins.blueocean.rest.model.BlueRunContainer
      Returns:
      Queue item.