com.atlassian.jira.pageobjects.pages.admin
Class JiraWebSudoPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.admin.JiraWebSudoPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page, com.atlassian.pageobjects.page.WebSudoPage
public class JiraWebSudoPage
- extends AbstractJiraPage
- implements com.atlassian.pageobjects.page.WebSudoPage
- Since:
- v4.4
Method Summary |
<T extends com.atlassian.pageobjects.Page>
T |
|
authenticate(Class<T> targetPage)
|
<T extends com.atlassian.pageobjects.Page>
T |
|
authenticate(String password,
Class<T> targetPage)
|
<T extends com.atlassian.pageobjects.Page>
T |
|
cancel(Class<T> expectedPage,
Object... args)
This handles cancelling the web sudo authentication and binding to the expected page
that cancel should navigate to. |
<T extends com.atlassian.pageobjects.Page>
T |
|
confirm(Class<T> targetPage)
|
<T extends com.atlassian.pageobjects.Page>
T |
|
confirm(String password,
Class<T> targetPage)
|
String |
getUrl()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraWebSudoPage
public JiraWebSudoPage()
JiraWebSudoPage
public JiraWebSudoPage(String destination)
isAt
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Description copied from class:
AbstractJiraPage
- Timed condition checking if we're at given page.
- Specified by:
isAt
in class AbstractJiraPage
- Returns:
- timed condition checking, if the test is at given page
getUrl
public String getUrl()
- Specified by:
getUrl
in interface com.atlassian.pageobjects.Page
confirm
public <T extends com.atlassian.pageobjects.Page> T confirm(Class<T> targetPage)
- Specified by:
confirm
in interface com.atlassian.pageobjects.page.WebSudoPage
confirm
public <T extends com.atlassian.pageobjects.Page> T confirm(String password,
Class<T> targetPage)
- Specified by:
confirm
in interface com.atlassian.pageobjects.page.WebSudoPage
authenticate
public <T extends com.atlassian.pageobjects.Page> T authenticate(Class<T> targetPage)
authenticate
public <T extends com.atlassian.pageobjects.Page> T authenticate(String password,
Class<T> targetPage)
cancel
public <T extends com.atlassian.pageobjects.Page> T cancel(Class<T> expectedPage,
Object... args)
- This handles cancelling the web sudo authentication and binding to the expected page
that cancel should navigate to.
- Type Parameters:
T
- The page class type.- Parameters:
expectedPage
- The expected page to navigate to after cancelling.args
- optional arguments to be passed to PageBinder.bind(Class, Object...)
- Returns:
- The page object that is expected to navigate to after cancelling.
Copyright © 2002-2012 Atlassian. All Rights Reserved.