public class InjectionAnnotations extends org.openqa.selenium.support.pagefactory.AbstractAnnotations implements FluentLabelProvider
Annotations, but also supports annotations defined on
return type class.| Constructor and Description |
|---|
InjectionAnnotations(java.lang.reflect.Field field)
Creates a new injection annotations object
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.By |
buildBy() |
java.lang.String |
getLabel()
Get defined definition.
|
java.lang.String[] |
getLabelHints()
Get defined label hints.
|
boolean |
isLookupCached() |
public InjectionAnnotations(java.lang.reflect.Field field)
field - field to analyzepublic org.openqa.selenium.By buildBy()
buildBy in class org.openqa.selenium.support.pagefactory.AbstractAnnotationspublic boolean isLookupCached()
isLookupCached in class org.openqa.selenium.support.pagefactory.AbstractAnnotationspublic java.lang.String getLabel()
FluentLabelProvidergetLabel in interface FluentLabelProviderpublic java.lang.String[] getLabelHints()
FluentLabelProvidergetLabelHints in interface FluentLabelProviderCopyright © 2018 FluentLenium. All Rights Reserved.