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

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.subtask.AddSubtaskTypeDialog
All Implemented Interfaces:
AddSubtaskType

public class AddSubtaskTypeDialog
extends FormDialog
implements AddSubtaskType

Allows the user to interact with the add subtask 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
AddSubtaskTypeDialog()
           
 
Method Summary
 ManageSubtasksPage cancel()
           
 Map<String,String> getErrors()
           
 String getIconUrl()
           
 void init()
           
 IconPicker.IconPickerPopup openIconPickerPopup()
           
 AddSubtaskTypeDialog setDescription(String description)
           
 AddSubtaskTypeDialog setIconUrl(String iconUrl)
           
 AddSubtaskTypeDialog setName(String name)
           
<P> P
submit(Class<P> klazz)
           
 AddSubtaskTypeDialog submitFail()
           
<P> P
submitFail(Class<P> page, Object... args)
           
 ManageSubtasksPage submitSuccess()
           
 
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
 

Field Detail

ID

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

AddSubtaskTypeDialog

public AddSubtaskTypeDialog()
Method Detail

init

public void init()

setName

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

setDescription

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

setIconUrl

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

getErrors

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

cancel

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.