-
Notifications
You must be signed in to change notification settings - Fork 16
/
ComponentList.java
26 lines (22 loc) · 925 Bytes
/
ComponentList.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.nordstrom.automation.selenium.model;
import org.openqa.selenium.By;
/**
* This class defines a list for <b>Selenium Foundation</b> page component objects.
* <p>
* <b>NOTE</b>: This class implements a read-only list; all methods that would alter the composition of the collection
* (e.g. - {@link #add(Object)}) result in {@link UnsupportedOperationException}.
*
* @param <E> the class of page component objects collected by this list
*/
public class ComponentList<E extends PageComponent> extends ContainerList<E> {
/**
* Constructor for component list with parent, type, and locator
*
* @param parent parent container
* @param containerType container type
* @param locator container context element locator
*/
ComponentList(final ComponentContainer parent, final Class<E> componentType, final By locator) {
super(parent, componentType, locator);
}
}