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, FORM_SUBMITTING_CLASS, 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
 
Constructor Summary
XsrfDialog(String id)
           
 
Method Summary
 boolean canRetry()
           
 boolean hasParamaters()
           
 boolean hasRequestParameter(String parameterName)
           
 boolean hasRequestParameters()
           
 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, waitUntilFinishedLoading
 
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

hasRequestParameters

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

hasRequestParameter

public boolean hasRequestParameter(String parameterName)
Specified by:
hasRequestParameter 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-2014 Atlassian. All Rights Reserved.