com.atlassian.bamboo.pageobjects.core
Class ServerStateBanner
java.lang.Object
com.atlassian.bamboo.pageobjects.core.ServerStateBanner
public class ServerStateBanner
- extends java.lang.Object
Banner on the top of the page tracking the state of Bamboo.
- Since:
- v3.3
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStateBanner
public ServerStateBanner()
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()
and hasResumeServerButton()
both return true
.
Copyright © 2012 Atlassian. All Rights Reserved.