com.atlassian.webdriver.jira.page
Class JiraWebSudoPage

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

public class JiraWebSudoPage
extends Object
implements WebSudoPage

The Jira WebSudo page


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

JiraWebSudoPage

public JiraWebSudoPage()
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.