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

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.pages.admin.issuetype.AddIssueTypeDialog
All Implemented Interfaces:
AddIssueType

public class AddIssueTypeDialog
extends FormDialog

Allows the user to interact with the issue type dialog.

Since:
v5.0.1

Field Summary
static String ID
           
 
Fields inherited from class com.atlassian.jira.pageobjects.dialogs.FormDialog
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
AddIssueTypeDialog()
           
 
Method Summary
<P> P
cancel(Class<P> page)
           
 String getIconUrl()
           
 void init()
           
 boolean isSubtasksEnabled()
           
 IconPicker.IconPickerPopup openIconPickerPopup()
           
 AddIssueType setDescription(String description)
           
 AddIssueType setIconUrl(String iconUrl)
           
 AddIssueType setName(String name)
           
 AddIssueType setSubtask(boolean subtask)
           
<T> T
submit(Class<T> klazz)
           
 AddIssueType submitFail()
           
<P> P
submitFail(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
 
Methods inherited from interface com.atlassian.jira.pageobjects.pages.admin.issuetype.AddIssueType
getFormErrors
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

AddIssueTypeDialog

public AddIssueTypeDialog()
Method Detail

init

public void init()

setName

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

setDescription

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

setIconUrl

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

setSubtask

public AddIssueType 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

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

submitFail

public AddIssueType 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

submit

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.