com.atlassian.jira.pageobjects.pages.admin.subtask
Class AddSubtaskTypePage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.admin.subtask.AddSubtaskTypePage
All Implemented Interfaces:
AddSubtaskType, com.atlassian.pageobjects.Page

public class AddSubtaskTypePage
extends AbstractJiraPage
implements AddSubtaskType

Allows the caller to interact with the add subtask type page.

Since:
v5.0.1

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder
 
Constructor Summary
AddSubtaskTypePage()
           
 
Method Summary
 ManageSubtasksPage cancel()
           
 Map<String,String> getErrors()
           
 String getIconUrl()
           
 String getUrl()
           
 void init()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 IconPicker.IconPickerPopup openIconPickerPopup()
           
 AddSubtaskTypePage setDescription(String description)
           
 AddSubtaskTypePage setIconUrl(String iconUrl)
           
 AddSubtaskTypePage setName(String name)
           
<P> P
submit(Class<P> klazz)
           
 AddSubtaskTypePage submitFail()
           
<P> P
submitFail(Class<P> page, Object... args)
           
 ManageSubtasksPage submitSuccess()
           
 
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
 

Constructor Detail

AddSubtaskTypePage

public AddSubtaskTypePage()
Method Detail

init

public void init()

setName

public AddSubtaskTypePage setName(String name)
Specified by:
setName in interface AddSubtaskType

setDescription

public AddSubtaskTypePage setDescription(String description)
Specified by:
setDescription in interface AddSubtaskType

setIconUrl

public AddSubtaskTypePage setIconUrl(String iconUrl)
Specified by:
setIconUrl in interface AddSubtaskType

getIconUrl

public String getIconUrl()
Specified by:
getIconUrl in interface AddSubtaskType

openIconPickerPopup

public IconPicker.IconPickerPopup openIconPickerPopup()
Specified by:
openIconPickerPopup in interface AddSubtaskType

submitSuccess

public ManageSubtasksPage submitSuccess()
Specified by:
submitSuccess in interface AddSubtaskType

submitFail

public AddSubtaskTypePage submitFail()
Specified by:
submitFail in interface AddSubtaskType

submitFail

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

submit

public <P> P submit(Class<P> klazz)
Specified by:
submit in interface AddSubtaskType

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

getUrl

public String getUrl()
Specified by:
getUrl in interface com.atlassian.pageobjects.Page

getErrors

public Map<String,String> getErrors()
Specified by:
getErrors in interface AddSubtaskType

cancel

public ManageSubtasksPage cancel()
Specified by:
cancel in interface AddSubtaskType


Copyright © 2002-2012 Atlassian. All Rights Reserved.