Package org.fluentlenium.core.page
Class ClassAnnotations
- java.lang.Object
-
- org.openqa.selenium.support.pagefactory.AbstractAnnotations
-
- org.fluentlenium.core.page.ClassAnnotations
-
public class ClassAnnotations extends org.openqa.selenium.support.pagefactory.AbstractAnnotationsInspired byAnnotations, but use a Class instead of a Field to retrieve the annotations.
-
-
Constructor Summary
Constructors Constructor Description ClassAnnotations(java.lang.Class<?> containerClass)Creates a new class annotations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.BybuildBy()booleanisLookupCached()
-
-
-
Method Detail
-
isLookupCached
public boolean isLookupCached()
- Specified by:
isLookupCachedin classorg.openqa.selenium.support.pagefactory.AbstractAnnotations
-
buildBy
public org.openqa.selenium.By buildBy()
Looks for one of
FindBy,FindBysorFindAllclass annotations. In case no annotation is provided for the field, returns null.- Specified by:
buildByin classorg.openqa.selenium.support.pagefactory.AbstractAnnotations- Throws:
java.lang.IllegalArgumentException- when more than one annotation on a class provided
-
-