public interface JiraWebSudo
Modifier and Type | Method and Description |
---|---|
void |
authenticate(String password)
Submit a password.
|
<T> T |
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.
|
<T> T |
cancel(Class<T> expectedPage,
Object... args)
Cancel websudo and bind the passed page.
|
<T> T authenticate(String password, Class<T> targetPage, Object... args)
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.void authenticate(String password)
password
- the password to submit.JiraWebSudo authenticateFail(String password)
password
- the password to submit.<T> T cancel(Class<T> expectedPage, Object... args)
T
- the type of the page to bind.expectedPage
- the page to bind after the cancel.args
- arguments for targetPage during the bind.void cancel()
Copyright © 2002-2022 Atlassian. All Rights Reserved.
View cookie preferences