com.atlassian.jira.pageobjects.pages.viewissue
Class AbstractDeleteLinkPage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.viewissue.AbstractDeleteLinkPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
DeleteRemoteIssueLinkPage

public abstract class AbstractDeleteLinkPage
extends AbstractJiraPage

Base class of a delete link page. Normally the user would not see this page since clicking the delete icon on the view issue page will show an inline dialog.

Since:
v5.0

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder
 
Constructor Summary
protected AbstractDeleteLinkPage(String issueKey, Long issueId)
           
 
Method Summary
 ViewIssuePage cancel()
           
 ViewIssuePage confirm()
           
 List<String> getErrorMessages()
          Returns the error messages on the page.
 Long getIssueId()
          Returns the issue ID.
 String getMessage()
           
 String getTitle()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
 

Constructor Detail

AbstractDeleteLinkPage

protected AbstractDeleteLinkPage(String issueKey,
                                 Long issueId)
Method Detail

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

confirm

public ViewIssuePage confirm()

cancel

public ViewIssuePage cancel()

getTitle

public String getTitle()

getMessage

public String getMessage()

getErrorMessages

public List<String> getErrorMessages()
Returns the error messages on the page. An empty list is returned if there are no error messages.

Returns:
error messages on the page. An empty list is returned if there are no error messages.

getIssueId

public Long getIssueId()
Returns the issue ID.

Returns:
issue ID


Copyright © 2002-2012 Atlassian. All Rights Reserved.