Class ServerStateBanner
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.global.ServerStateBanner
-
public class ServerStateBanner extends Object
Banner on the top of the page tracking the state of Bamboo.- Since:
- v3.3
-
-
Constructor Summary
Constructors Constructor Description ServerStateBanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasResumeServerButton()
com.atlassian.pageobjects.elements.query.TimedCondition
isPaused()
com.atlassian.pageobjects.elements.query.TimedCondition
isVisible()
The banner is visible when Bamboo is in any state other than running.void
resumeServer()
Resume the server.
-
-
-
Method Detail
-
isVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
The banner is visible when Bamboo is in any state other than running.- Returns:
- timed condition indicating whether the banner is visible
-
isPaused
public com.atlassian.pageobjects.elements.query.TimedCondition isPaused()
-
hasResumeServerButton
public boolean hasResumeServerButton()
-
resumeServer
public void resumeServer()
Resume the server.
Can only be called if
isVisible()
andhasResumeServerButton()
both returntrue
.
-
-