net.thucydides.core.pages
Class PagesAnnotatedField

Package class diagram package PagesAnnotatedField
java.lang.Object
  extended by net.thucydides.core.pages.PagesAnnotatedField

public class PagesAnnotatedField
extends Object

The Pages object keeps track of the Page Objects used during the tests.

Author:
johnsmart

Constructor Summary
protected PagesAnnotatedField(Field field, ManagedPages annotation)
           
 
Method Summary
static PagesAnnotatedField findFirstAnnotatedField(Class<?> testClass)
          Find the first field in the class annotated with the Managed annotation.
static com.google.common.base.Optional<PagesAnnotatedField> findOptionalAnnotatedField(Class<?> testClass)
          Find the first field in the class annotated with the Managed annotation.
 String getDefaultBaseUrl()
           
protected  FieldSetter set(Object targetObject)
           
 void setValue(Object testCase, Pages pages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagesAnnotatedField

protected PagesAnnotatedField(Field field,
                              ManagedPages annotation)
Method Detail

findFirstAnnotatedField

public static PagesAnnotatedField findFirstAnnotatedField(Class<?> testClass)
Find the first field in the class annotated with the Managed annotation.


findOptionalAnnotatedField

public static com.google.common.base.Optional<PagesAnnotatedField> findOptionalAnnotatedField(Class<?> testClass)
Find the first field in the class annotated with the Managed annotation.


setValue

public void setValue(Object testCase,
                     Pages pages)

set

protected FieldSetter set(Object targetObject)

getDefaultBaseUrl

public String getDefaultBaseUrl()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.