com.atlassian.jira.webtest.framework.core
Interface ParentObject
- All Known Subinterfaces:
- ParentPage, ViewIssue
- All Known Implementing Classes:
- SeleniumViewIssue
public interface ParentObject
An interface implemented by all framework components that are parent to a significant number of child page objects.
It defines a factory-style generic method to retrieve any child component that is necessary.
- Since:
- v4.3
Method Summary |
|
getChild(Class<T> childType)
Get child of this component for given childType. |
getChild
<T extends PageObject> T getChild(Class<T> childType)
- Get child of this component for given childType.
- Type Parameters:
T
- type of the child- Parameters:
childType
- class of the child
- Returns:
- child component instance
- Throws:
IllegalArgumentException
- if childType is not supported by this parent component.
Copyright © 2002-2013 Atlassian. All Rights Reserved.