com.atlassian.webdriver.jira.page
Class JiraWebSudoPage
java.lang.Object
com.atlassian.webdriver.jira.page.JiraWebSudoPage
- All Implemented Interfaces:
- Page, WebSudoPage
public class JiraWebSudoPage
- extends Object
- implements WebSudoPage
The Jira WebSudo page
|
Method Summary |
|
confirm(Class<T> targetPage)
Confirm the sys admin password and navigate to given page |
|
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 |
JiraWebSudoPage
public JiraWebSudoPage()
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 confirmtargetPage - Page to navigate to after password confirm
- Returns:
- Instance of target page
Copyright © 2014 Atlassian. All rights reserved.