com.atlassian.webdriver.confluence.page
Class ConfluenceWebSudoPage

java.lang.Object
  extended by com.atlassian.webdriver.confluence.page.ConfluenceWebSudoPage
All Implemented Interfaces:
Page, WebSudoPage

public class ConfluenceWebSudoPage
extends Object
implements WebSudoPage

Confluence WebSudo page


Constructor Summary
ConfluenceWebSudoPage()
           
 
Method Summary
<T extends Page>
T
confirm(Class<T> targetPage)
          Confirm the sys admin password and navigate to given page
<T extends Page>
T
confirm(String password, Class<T> targetPage)
          Confirm with given password and navigate to given page
 String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceWebSudoPage

public ConfluenceWebSudoPage()
Method Detail

getUrl

public String getUrl()
Specified by:
getUrl in interface Page
Returns:
The URI, including query string, relative to the base url

confirm

public <T extends Page> T confirm(Class<T> targetPage)
Description copied from interface: WebSudoPage
Confirm the sys admin password and navigate to given page

Specified by:
confirm in interface WebSudoPage
Type Parameters:
T - Page
Parameters:
targetPage - Page to navigate to after password confirm
Returns:
Instance of target page

confirm

public <T extends Page> T confirm(String password,
                                  Class<T> targetPage)
Description copied from interface: WebSudoPage
Confirm with given password and navigate to given page

Specified by:
confirm in interface WebSudoPage
Type Parameters:
T - Page
Parameters:
password - The password to confirm
targetPage - Page to navigate to after password confirm
Returns:
Instance of target page


Copyright © 2014 Atlassian. All rights reserved.