com.atlassian.jira.webtest.framework.page.issue.move
Interface MoveSubTaskChooseOperation<P extends ParentPage>

All Superinterfaces:
Cancelable<P>, FlowPage<P,MoveSubTaskOperationDetails<P>>, IssueAware, Page, PageObject, Submittable<MoveSubTaskOperationDetails<P>>
All Known Implementing Classes:
SeleniumMoveSubtaskChooseOperation

public interface MoveSubTaskChooseOperation<P extends ParentPage>
extends FlowPage<P,MoveSubTaskOperationDetails<P>>, IssueAware

First page in the Move Sub-task flow (started when 'Move' operation is invoked on an issue). Contains a selection of the flow type: changing issue type, or changing parent.

Since:
v4.3

Nested Class Summary
static class MoveSubTaskChooseOperation.FlowType
           
 
Method Summary
 TimedCondition isSelectable(MoveSubTaskChooseOperation.FlowType flowType)
          Check whether given flowType is selectable in the current context.
 MoveSubTaskChooseOperation<P> selectFlowType(MoveSubTaskChooseOperation.FlowType flowType)
          Select flow type for the current flow.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.FlowPage
next, stepNumber
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Cancelable
cancel
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Submittable
submit
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 
Methods inherited from interface com.atlassian.jira.webtest.framework.model.IssueAware
issueData
 

Method Detail

isSelectable

TimedCondition isSelectable(MoveSubTaskChooseOperation.FlowType flowType)
Check whether given flowType is selectable in the current context. Sometimes a particular flow type might not be possible to carry out, e.g. MoveSubTaskChooseOperation.FlowType.CHANGE_TYPE in the situation where no custom sub-task types are defined in JIRA.

Parameters:
flowType - flow type to verify
Returns:
timed condition querying whether flowType may be selected on this page

selectFlowType

MoveSubTaskChooseOperation<P> selectFlowType(MoveSubTaskChooseOperation.FlowType flowType)
Select flow type for the current flow.

Parameters:
flowType - flow type to select
Returns:
this page instance
Throws:
IllegalStateException - if the flow cannot be selected, which may be queried by isSelectable(FlowType)


Copyright © 2002-2013 Atlassian. All Rights Reserved.