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 Summary
Constructors Constructor Description StageViewBuild(org.openqa.selenium.WebElement webElement, List<StageViewStage> stageViewStages)
Initializes a stageviewjob
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<StageViewStage>
getAllStageViewItem()
Returns all the items of a particular jobString
getBuildNo()
Return the current build noString
getCssClasses()
Return the css classes as a StringStageViewStage
getStageViewItem(int buildNumber)
Return the stageViewItemString
toString()
-
-
-
Constructor Detail
-
StageViewBuild
public StageViewBuild(org.openqa.selenium.WebElement webElement, List<StageViewStage> stageViewStages)
Initializes a stageviewjob- Parameters:
webElement
- theElement of the particular jobstageViewStages
- The overall stages
-
-
Method Detail
-
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
-
-