|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.pageobjects.websudo.DecoratedJiraWebSudo
public abstract class DecoratedJiraWebSudo
Constructor Summary | |
---|---|
DecoratedJiraWebSudo(JiraWebSudo sudo)
|
Method Summary | ||
---|---|---|
protected abstract void |
afterAuthenticate()
|
|
void |
authenticate(String password)
Submit a password. |
|
|
authenticate(String password,
Class<T> targetPage,
Object... args)
Submit the password for websudo and bind the passed page. |
|
JiraWebSudo |
authenticateFail(String password)
Submit the wrong password for websudo. |
|
void |
cancel()
Cancel websudo. |
|
|
cancel(Class<T> expectedPage,
Object... args)
Cancel websudo and bind the passed page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecoratedJiraWebSudo(JiraWebSudo sudo)
Method Detail |
---|
public void authenticate(String password)
JiraWebSudo
authenticate
in interface JiraWebSudo
password
- the password to submit.public <T> T authenticate(String password, Class<T> targetPage, Object... args)
JiraWebSudo
authenticate
in interface JiraWebSudo
T
- the type of the page to bind.password
- the password to submit.targetPage
- the page to bind after the submit.args
- arguments for targetPage during the bind.
public JiraWebSudo authenticateFail(String password)
JiraWebSudo
authenticateFail
in interface JiraWebSudo
password
- the password to submit.
public <T> T cancel(Class<T> expectedPage, Object... args)
JiraWebSudo
cancel
in interface JiraWebSudo
T
- the type of the page to bind.expectedPage
- the page to bind after the cancel.args
- arguments for targetPage during the bind.
public void cancel()
JiraWebSudo
cancel
in interface JiraWebSudo
protected abstract void afterAuthenticate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |