public class GenericByAnnotationPostProcessor<A extends Annotation,P> extends Object implements com.atlassian.pageobjects.binder.PostInjectionProcessor
Modifier and Type | Class and Description |
---|---|
static class |
GenericByAnnotationPostProcessor.InjectionContext<A> |
Constructor and Description |
---|
GenericByAnnotationPostProcessor(Class<A> annotationType,
com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<A>,P> valueProvider) |
GenericByAnnotationPostProcessor(Class<A> annotationType,
com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<A>,P> valueProvider,
String locatorMethodName) |
Modifier and Type | Method and Description |
---|---|
static <B extends Annotation,Q> |
create(Class<B> annotationType,
com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<B>,Q> valueProvider) |
static <B extends Annotation,Q> |
create(Class<B> annotationType,
com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<B>,Q> valueProvider,
String locatorMethodName) |
<T> T |
process(T pageObject) |
public GenericByAnnotationPostProcessor(Class<A> annotationType, com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<A>,P> valueProvider)
public static <B extends Annotation,Q> GenericByAnnotationPostProcessor<B,Q> create(Class<B> annotationType, com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<B>,Q> valueProvider)
public static <B extends Annotation,Q> GenericByAnnotationPostProcessor<B,Q> create(Class<B> annotationType, com.google.common.base.Function<GenericByAnnotationPostProcessor.InjectionContext<B>,Q> valueProvider, String locatorMethodName)
public <T> T process(T pageObject)
process
in interface com.atlassian.pageobjects.binder.PostInjectionProcessor
Copyright © 2002-2018 Atlassian. All Rights Reserved.