com.atlassian.jira.pageobjects.websudo
Interface JiraWebSudo

All Known Implementing Classes:
DecoratedJiraWebSudo, JiraSudoFormDialog, JiraWebSudoPage

public interface JiraWebSudo

Page/Dialog that represents WebSudo in JIRA.

Since:
v5.0.1

Method Summary
 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.
 

Method Detail

authenticate

<T> T authenticate(String password,
                   Class<T> targetPage,
                   Object... args)
Submit the password for websudo and bind the passed page.

Type Parameters:
T - the type of the page to bind.
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.

authenticate

void authenticate(String password)
Submit a password.

Parameters:
password - the password to submit.

authenticateFail

JiraWebSudo authenticateFail(String password)
Submit the wrong password for websudo.

Parameters:
password - the password to submit.
Returns:
this websudo form.

cancel

<T> T cancel(Class<T> expectedPage,
             Object... args)
Cancel websudo and bind the passed page.

Type Parameters:
T - the type of the page to bind.
Parameters:
expectedPage - the page to bind after the cancel.
args - arguments for targetPage during the bind.
Returns:
a newly bound page after cancel.

cancel

void cancel()
Cancel websudo.



Copyright © 2002-2013 Atlassian. All Rights Reserved.