Class StageViewBuild

java.lang.Object
org.jenkinsci.test.acceptance.plugins.stageview.StageViewBuild

public class StageViewBuild extends Object
Representation of buildjobs done. Rows in the table.
Author:
Boris Dippolter
  • Constructor Details

    • StageViewBuild

      public StageViewBuild(org.openqa.selenium.WebElement webElement, List<StageViewStage> stageViewStages)
      Initializes a stageviewjob
      Parameters:
      webElement - theElement of the particular job
      stageViewStages - The overall stages
  • Method Details

    • getAllStageViewItem

      public List<StageViewStage> getAllStageViewItem()
      Returns all the items of a particular job
      Returns:
      list of stageviewitems
    • getStageViewItem

      public StageViewStage getStageViewItem(int buildNumber)
      Return the stageViewItem
      Returns:
      specific item
    • getBuildNo

      public String getBuildNo()
      Return the current build no
      Returns:
      the number as a String
    • getCssClasses

      public String getCssClasses()
      Return the css classes as a String
      Returns:
      cssclasses
    • toString

      public String toString()
      Overrides:
      toString in class Object