|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocatorMapping
Represents single type-based mapping between two locators. It defines parent and child locator types, and a method to combine them into a new locator.
Method Summary | |
---|---|
LocatorType |
childType()
Child locator type of this mapping. |
LocatorData |
combine(LocatorData parent,
LocatorData child)
Apply this mapping to a given locator data pair. |
LocatorType |
parentType()
Parent locator type of this mapping |
boolean |
supportsChild(LocatorData child)
Checks if this mapping supports locator represented child. |
boolean |
supportsParent(LocatorData parent)
Checks if this mapping supports locator represented parent. |
Method Detail |
---|
LocatorType parentType()
LocatorType childType()
boolean supportsParent(LocatorData parent)
parent
- parent data to check
true
, if parent is supported, false otherwise
boolean supportsChild(LocatorData child)
child
- child data to check
true
, if child is supported, false otherwise
LocatorData combine(LocatorData parent, LocatorData child)
parent
- parent locator datachild
- child locator data
IllegalArgumentException
- if parent, or child is not supported by this mappingsupportsParent(com.atlassian.jira.webtest.framework.core.locator.LocatorData)
,
supportsChild(com.atlassian.jira.webtest.framework.core.locator.LocatorData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |