com.atlassian.jira.webtest.framework.core
Interface Cancelable<T extends PageObject>

Type Parameters:
T - target page object, i.e. the page object that is navigated to as a result of the cancel operation
All Superinterfaces:
PageObject
All Known Subinterfaces:
ConvertToSubTaskSelectTypes<P>, FlowLastPage<P,F>, FlowPage<P,N>, LinkIssueDialog, MoveSubTaskChooseOperation<P>, MoveSubTaskConfirmation<P>, MoveSubTaskOperationDetails<P>, SubmittableDialog<T,P>
All Known Implementing Classes:
AbstractSeleniumConvertToSubtask, AbstractSeleniumFlowPage, AbstractSeleniumMoveSubTask, SeleniumConvertToSubtaskSelectTypes, SeleniumLinkIssueDialog, SeleniumMoveSubtaskChooseOperation, SeleniumMoveSubtaskConfirmation

public interface Cancelable<T extends PageObject>
extends PageObject

A page object that is capable of being cancelled.

NOTE: as with all 'flow-style' operations, cancel() may return an object that is not actually navigated to as a result of the cancel operation. E.g. cancel may work differently if a particular piece of data is entered into its form etc. Clients are responsible for encapsulating this knowledge and validating that the cancel operation result is valid in a particular test context.

Since:
v4.3
See Also:
Submittable

Method Summary
 T cancel()
          Cancel and get the target page object of the cancel operation.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

cancel

T cancel()
Cancel and get the target page object of the cancel operation.

Returns:
target page object of this cancel operation


Copyright © 2002-2013 Atlassian. All Rights Reserved.