com.atlassian.jira.pageobjects.dialogs.quickedit
Class EditIssueDialog

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.dialogs.quickedit.AbstractIssueDialog
              extended by com.atlassian.jira.pageobjects.dialogs.quickedit.EditIssueDialog

public class EditIssueDialog
extends AbstractIssueDialog

Since:
v5.0

Field Summary
protected  CalendarPicker dueDate
           
 
Fields inherited from class com.atlassian.jira.pageobjects.dialogs.quickedit.AbstractIssueDialog
extendedFinder, queryFactory
 
Fields inherited from class com.atlassian.jira.pageobjects.dialogs.FormDialog
form, 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, HEADING_AREA_CLASS, id, locator
 
Constructor Summary
EditIssueDialog()
           
 
Method Summary
 EditIssueDialog addFields(String... fields)
           
 EditIssueDialog fill(String id, String value)
           
<T> T
getCustomField(Class<T> fieldTypeClass, long customFieldId)
           
<T> T
getCustomField(Class<T> fieldTypeClass, String fullCustomFieldId)
           
 CalendarPicker getDueDate()
           
 void init()
           
 EditIssueDialog removeFields(String... fields)
           
 EditIssueDialog setAssignee(String newAssignee)
           
 void setDueDate(Date dueDate)
           
 void setFields(Map<String,String> fields)
           
 EditIssueDialog setIssueType(String issueType)
           
 EditIssueDialog setOriginalEstimate(String originalEstimate)
           
 EditIssueDialog setPriority(String newPriority)
           
 EditIssueDialog setTimeSpent(String timeSpent)
           
 boolean submit()
           
<P> P
submit(Class<P> pageClass, Object... args)
           
 ViewIssuePage submitExpectingViewIssue(String issueKey)
           
 EditIssueDialog switchToCustomMode()
           
 EditIssueDialog switchToFullMode()
           
protected  void waitWhileSubmitting()
           
 
Methods inherited from class com.atlassian.jira.pageobjects.dialogs.quickedit.AbstractIssueDialog
getFieldValue, getTimedFieldValue, getVisibleFieldElements, getVisibleFields, openFieldPicker
 
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
 
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

dueDate

protected CalendarPicker dueDate
Constructor Detail

EditIssueDialog

public EditIssueDialog()
Method Detail

init

public void init()

switchToCustomMode

public EditIssueDialog switchToCustomMode()
Specified by:
switchToCustomMode in class AbstractIssueDialog

removeFields

public EditIssueDialog removeFields(String... fields)
Specified by:
removeFields in class AbstractIssueDialog

addFields

public EditIssueDialog addFields(String... fields)
Specified by:
addFields in class AbstractIssueDialog

switchToFullMode

public EditIssueDialog switchToFullMode()
Specified by:
switchToFullMode in class AbstractIssueDialog

fill

public EditIssueDialog fill(String id,
                            String value)
Specified by:
fill in class AbstractIssueDialog

getDueDate

public CalendarPicker getDueDate()

getCustomField

public <T> T getCustomField(Class<T> fieldTypeClass,
                            String fullCustomFieldId)

getCustomField

public <T> T getCustomField(Class<T> fieldTypeClass,
                            long customFieldId)

submit

public <P> P submit(Class<P> pageClass,
                    Object... args)

submit

public boolean submit()

submitExpectingViewIssue

public ViewIssuePage submitExpectingViewIssue(String issueKey)

waitWhileSubmitting

protected void waitWhileSubmitting()
Overrides:
waitWhileSubmitting in class FormDialog

setAssignee

public EditIssueDialog setAssignee(String newAssignee)

setPriority

public EditIssueDialog setPriority(String newPriority)

setIssueType

public EditIssueDialog setIssueType(String issueType)

setOriginalEstimate

public EditIssueDialog setOriginalEstimate(String originalEstimate)

setTimeSpent

public EditIssueDialog setTimeSpent(String timeSpent)

setFields

public void setFields(Map<String,String> fields)

setDueDate

public void setDueDate(Date dueDate)


Copyright © 2002-2014 Atlassian. All Rights Reserved.