public class JiraSudoFormDialog extends FormDialog implements JiraWebSudo
| Modifier and Type | Field and Description |
|---|---|
static String |
ID_SMART_WEBSUDO |
auiBlanket, form, FORM_SUBMITTING_CLASS, header, loading, messagesbinder, CONTENT_AREA_CLASS, CONTENT_READY_CLASS, DIALOG_CLASS, DIALOG_OPEN_CLASS, driver, extendedFinder, HEADING_AREA_CLASS, id, javascriptExecutor, locator, queryFactory| Constructor and Description |
|---|
JiraSudoFormDialog() |
JiraSudoFormDialog(String id) |
| 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.
|
void |
init() |
void |
waitForBind() |
acceptDirtyFormWarning, assertDialogClosed, assertDialogOpen, close, closeNoWait, escape, getAuiMessage, getFields, getFormErrorElements, getFormErrorList, getFormErrors, getTimedTitle, getTitle, hasFormErrors, initAbstractDialog, messages, ready, setElement, setField, submit, submit, submit, waitForFormErrors, waitUntilClosed, waitUntilHidden, waitWhileSubmittingfind, find, findAll, findAll, getDialogElement, isClosed, isInDOM, isOpen, waitUntilFinishedLoadingpublic static final String ID_SMART_WEBSUDO
public JiraSudoFormDialog()
public JiraSudoFormDialog(String id)
public void init()
public void waitForBind()
public <T> T authenticate(String password, Class<T> targetPage, Object... args)
JiraWebSudoauthenticate in interface JiraWebSudoT - 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 void authenticate(String password)
JiraWebSudoauthenticate in interface JiraWebSudopassword - the password to submit.public JiraWebSudo authenticateFail(String password)
JiraWebSudoauthenticateFail in interface JiraWebSudopassword - the password to submit.public <T> T cancel(Class<T> expectedPage, Object... args)
JiraWebSudocancel in interface JiraWebSudoT - 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()
JiraWebSudocancel in interface JiraWebSudoCopyright © 2002-2022 Atlassian. All Rights Reserved.