Enum ElementContructorForm
- java.lang.Object
-
- java.lang.Enum<ElementContructorForm>
-
- net.thucydides.core.annotations.locators.ElementContructorForm
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementContructorForm>
public enum ElementContructorForm extends Enum<ElementContructorForm>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<ElementContructorForm>
applicableConstructor(Class implementerClass)
static Optional<Constructor>
applicableConstructorFrom(Class implementerClass)
static Optional<ElementContructorForm>
matchingFormFor(Class... parameterTypes)
static ElementContructorForm
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementContructorForm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEBDRIVER_ELEMENT_TWO_TIMEOUTS
public static final ElementContructorForm WEBDRIVER_ELEMENT_TWO_TIMEOUTS
-
WEBDRIVER_ELEMENT_SINGLE_TIMEOUT
public static final ElementContructorForm WEBDRIVER_ELEMENT_SINGLE_TIMEOUT
-
WEBDRIVER_LOCATOR_TWO_TIMEOUTS
public static final ElementContructorForm WEBDRIVER_LOCATOR_TWO_TIMEOUTS
-
WEBDRIVER_LOCATOR_SINGLE_TIMEOUT
public static final ElementContructorForm WEBDRIVER_LOCATOR_SINGLE_TIMEOUT
-
PAGE_LOCATOR_ELEMENT_SINGLE_TIMEOUT
public static final ElementContructorForm PAGE_LOCATOR_ELEMENT_SINGLE_TIMEOUT
-
PAGE_LOCATOR_ELEMENT_TWO_TIMEOUTS
public static final ElementContructorForm PAGE_LOCATOR_ELEMENT_TWO_TIMEOUTS
-
PAGE_LOCATOR_TWO_TIMEOUTS
public static final ElementContructorForm PAGE_LOCATOR_TWO_TIMEOUTS
-
PAGE_LOCATOR_SINGLE_TIMEOUT
public static final ElementContructorForm PAGE_LOCATOR_SINGLE_TIMEOUT
-
PAGE_ELEMENT_TWO_TIMEOUTS
public static final ElementContructorForm PAGE_ELEMENT_TWO_TIMEOUTS
-
PAGE_ELEMENT_SINGLE_TIMEOUT
public static final ElementContructorForm PAGE_ELEMENT_SINGLE_TIMEOUT
-
-
Method Detail
-
values
public static ElementContructorForm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ElementContructorForm c : ElementContructorForm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementContructorForm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
matchingFormFor
public static Optional<ElementContructorForm> matchingFormFor(Class... parameterTypes)
-
applicableConstructorFrom
public static Optional<Constructor> applicableConstructorFrom(Class implementerClass)
-
applicableConstructor
public static Optional<ElementContructorForm> applicableConstructor(Class implementerClass)
-
-