com.atlassian.bamboo.pageobjects.pages.global
Class ServerStateBanner

java.lang.Object
  extended by com.atlassian.bamboo.pageobjects.pages.global.ServerStateBanner

public class ServerStateBanner
extends java.lang.Object

Banner on the top of the page tracking the state of Bamboo.

Since:
v3.3

Constructor Summary
ServerStateBanner()
           
 
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
 

Constructor Detail

ServerStateBanner

public ServerStateBanner()
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() and hasResumeServerButton() both return true.



Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.