public interface

JiraWebSudo

com.atlassian.jira.pageobjects.websudo.JiraWebSudo
Known Indirect Subclasses

Class Overview

Page/Dialog that represents WebSudo in JIRA.

Summary

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.

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.