public abstract class

DecoratedJiraWebSudo

extends Object
implements JiraWebSudo
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.websudo.DecoratedJiraWebSudo

Summary

Public Constructors
DecoratedJiraWebSudo(JiraWebSudo sudo)
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.
Protected Methods
abstract void afterAuthenticate()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.pageobjects.websudo.JiraWebSudo

Public Constructors

public DecoratedJiraWebSudo (JiraWebSudo sudo)

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.

Protected Methods

protected abstract void afterAuthenticate ()