public class

JiraSudoFormDialog

extends FormDialog
implements JiraWebSudo
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.dialogs.JiraDialog
     ↳ com.atlassian.jira.pageobjects.dialogs.FormDialog
       ↳ com.atlassian.jira.pageobjects.websudo.JiraSudoFormDialog

Summary

Constants
String ID_SMART_WEBSUDO
[Expand]
Inherited Constants
From class com.atlassian.jira.pageobjects.dialogs.FormDialog
From class com.atlassian.jira.pageobjects.dialogs.JiraDialog
[Expand]
Inherited Fields
From class com.atlassian.jira.pageobjects.dialogs.FormDialog
From class com.atlassian.jira.pageobjects.dialogs.JiraDialog
Public Constructors
JiraSudoFormDialog()
JiraSudoFormDialog(String id)
Public Methods
<T> T authenticate(String password, Class<T> targetPage, Object... args)
Submit the password for websudo and bind the passed page.
void authenticate(String password)
Submit a password.
JiraWebSudo authenticateFail(String password)
Submit the wrong password for websudo.
<T> T cancel(Class<T> expectedPage, Object... args)
Cancel websudo and bind the passed page.
void cancel()
Cancel websudo.
void init()
void waitForBind()
[Expand]
Inherited Methods
From class com.atlassian.jira.pageobjects.dialogs.FormDialog
From class com.atlassian.jira.pageobjects.dialogs.JiraDialog
From class java.lang.Object
From interface com.atlassian.jira.pageobjects.websudo.JiraWebSudo

Constants

public static final String ID_SMART_WEBSUDO

Constant Value: "smart-websudo"

Public Constructors

public JiraSudoFormDialog ()

public JiraSudoFormDialog (String id)

Public Methods

public T authenticate (String password, Class<T> targetPage, Object... args)

Submit the password for websudo and bind the passed page.

Parameters
password the password to submit.
targetPage the page to bind after the submit.
args arguments for targetPage during the bind.
Returns
  • a newly bound page after websudo.

public void authenticate (String password)

Submit a password.

Parameters
password the password to submit.

public JiraWebSudo authenticateFail (String password)

Submit the wrong password for websudo.

Parameters
password the password to submit.
Returns
  • this websudo form.

public T cancel (Class<T> expectedPage, Object... args)

Cancel websudo and bind the passed page.

Parameters
expectedPage the page to bind after the cancel.
args arguments for targetPage during the bind.
Returns
  • a newly bound page after cancel.

public void cancel ()

Cancel websudo.

public void init ()

public void waitForBind ()