com.atlassian.jira.pageobjects.xsrf
Class XsrfDialog

java.lang.Object
  extended by com.atlassian.jira.pageobjects.dialogs.JiraDialog
      extended by com.atlassian.jira.pageobjects.dialogs.FormDialog
          extended by com.atlassian.jira.pageobjects.xsrf.XsrfDialog
All Implemented Interfaces:
Xsrf

public class XsrfDialog
extends FormDialog
implements Xsrf

Represents an XSRF form in a dialog.

Since:
v5.0.2

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.dialogs.FormDialog
form, header, loading, messages
 
Fields inherited from class com.atlassian.jira.pageobjects.dialogs.JiraDialog
binder, CONTENT_AREA_CLASS, CONTENT_READY_CLASS, DIALOG_CLASS, DIALOG_OPEN_CLASS, driver, extendedFinder, HEADING_AREA_CLASS, id, locator, queryFactory, timeouts
 
Constructor Summary
XsrfDialog(String id)
           
 
Method Summary
 boolean canRetry()
           
 boolean hasParamaters()
           
 void init()
           
 boolean isSessionExpired()
           
 boolean isXsrfCheckFailed()
           
 JiraLoginPage login()
           
<P> P
retry(Class<P> page, Object... args)
           
 
Methods inherited from class com.atlassian.jira.pageobjects.dialogs.FormDialog
assertDialogClosed, assertDialogOpen, close, escape, getAuiMessage, getDialogElement, getFormErrorElements, getFormErrorList, getFormErrors, getTimedTitle, getTitle, hasFormErrors, initAbstractDialog, messages, ready, setElement, submit, submit, submit, waitForFormErrors, waitUntilClosed, waitUntilHidden, waitWhileSubmitting
 
Methods inherited from class com.atlassian.jira.pageobjects.dialogs.JiraDialog
find, find, findAll, findAll, isClosed, isInDOM, isOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsrfDialog

public XsrfDialog(String id)
Method Detail

init

public void init()

isSessionExpired

public boolean isSessionExpired()
Specified by:
isSessionExpired in interface Xsrf

isXsrfCheckFailed

public boolean isXsrfCheckFailed()
Specified by:
isXsrfCheckFailed in interface Xsrf

hasParamaters

public boolean hasParamaters()
Specified by:
hasParamaters in interface Xsrf

canRetry

public boolean canRetry()
Specified by:
canRetry in interface Xsrf

retry

public <P> P retry(Class<P> page,
                   Object... args)
Specified by:
retry in interface Xsrf

login

public JiraLoginPage login()
Specified by:
login in interface Xsrf


Copyright © 2002-2013 Atlassian. All Rights Reserved.