com.atlassian.jira.pageobjects.pages.admin.issuetype
Class AddIssueTypePage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.admin.issuetype.AddIssueTypePage
All Implemented Interfaces:
AddIssueType, com.atlassian.pageobjects.Page

public class AddIssueTypePage
extends AbstractJiraPage
implements AddIssueType

Represents the Add(New)?IssueTypePage.

Since:
v5.1

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

AddIssueTypePage

public AddIssueTypePage()
Method Detail

init

public void init()

setName

public AddIssueTypePage setName(String name)
Specified by:
setName in interface AddIssueType

setDescription

public AddIssueTypePage setDescription(String description)
Specified by:
setDescription in interface AddIssueType

setIconUrl

public AddIssueTypePage setIconUrl(String iconUrl)
Specified by:
setIconUrl in interface AddIssueType

setSubtask

public AddIssueTypePage setSubtask(boolean subtask)
Specified by:
setSubtask in interface AddIssueType

getIconUrl

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

isSubtasksEnabled

public boolean isSubtasksEnabled()
Specified by:
isSubtasksEnabled in interface AddIssueType

openIconPickerPopup

@Deprecated
public IconPicker.IconPickerPopup openIconPickerPopup()
Deprecated. 

Specified by:
openIconPickerPopup in interface AddIssueType

submit

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

submitFail

public AddIssueTypePage submitFail()
Specified by:
submitFail in interface AddIssueType

submitFail

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

cancel

public <P> P cancel(Class<P> page)
Specified by:
cancel in interface AddIssueType

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

getFormErrors

public Map<String,String> getFormErrors()
Specified by:
getFormErrors in interface AddIssueType


Copyright © 2002-2014 Atlassian. All Rights Reserved.