com.atlassian.jira.webtest.framework.page
Interface IssueActionsParent

All Superinterfaces:
IssueAware, Page, PageObject
All Known Subinterfaces:
IssueNavigator, ViewIssue
All Known Implementing Classes:
SeleniumIssueNav, SeleniumViewIssue

public interface IssueActionsParent
extends Page, IssueAware

A page that is used to invoke various issue actions. Notably this includes View Issue and Issue Navigator.

Since:
v4.3

Nested Class Summary
static interface IssueActionsParent.DialogOpenMode<D extends IssueActionDialog<D>>
          Default dialog open mode
 
Method Summary
<D extends IssueActionDialog<D>>
D
dialog(Class<D> dialogType)
           Get dialog of given type associated with this page.
 DotDialog dotDialog()
          Dot Dialog of this issue actions page.
<D extends IssueActionDialog<D>>
IssueActionsParent.DialogOpenMode<D>
openDialog(Class<D> dialogType)
          Open an issue operation dialog of given dialogType.
 DotDialog openDotDialog()
          Open and return the dot-dialog for the issue in current context (which may be queried by IssueAware.issueData().
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.model.IssueAware
issueData
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

dialog

<D extends IssueActionDialog<D>> D dialog(Class<D> dialogType)

Get dialog of given type associated with this page. Calling this dialogs Openable.open() method will attempt to open the dialog by the default method for this page.

Contrary to the openDialog(Class), this method will not attempt any actions (opening/closing) on the returned dialog instance. The dialog instance may be used to query the state of this particular dialog (e.g. whether it is currently open as a result of manipulations of the ViewIssue page object without involving openDialog(Class).

Type Parameters:
D - generic type of the dialog
Parameters:
dialogType - class representing type of the issue action dialog to return
Returns:
dialog D instance

dotDialog

DotDialog dotDialog()
Dot Dialog of this issue actions page. This method will not attempt to perform any operations on the dialog.

Returns:
dot dialog instance of this page

openDialog

<D extends IssueActionDialog<D>> IssueActionsParent.DialogOpenMode<D> openDialog(Class<D> dialogType)
Open an issue operation dialog of given dialogType.

Type Parameters:
D - type of the dialog
Parameters:
dialogType - class representing the dialog type
Returns:
opening mode to open the dialog in a desired way

openDotDialog

DotDialog openDotDialog()
Open and return the dot-dialog for the issue in current context (which may be queried by IssueAware.issueData().

Returns:
dot dialog instance of this Issue Navigator
See Also:
IssueAware.issueData()


Copyright © 2002-2012 Atlassian. All Rights Reserved.