net.thucydides.junit.internals
Class StepsAnnotatedField

Package class diagram package StepsAnnotatedField
java.lang.Object
  extended by net.thucydides.junit.internals.StepsAnnotatedField

public class StepsAnnotatedField
extends Object

Used to identify ScenarioSteps fields that need to be instantiated.

Author:
johnsmart

Constructor Summary
protected StepsAnnotatedField(Field field)
           
 
Method Summary
static List<StepsAnnotatedField> findMandatoryAnnotatedFields(Class<?> clazz)
          Find the first field in the class annotated with the Managed annotation.
static List<StepsAnnotatedField> findOptionalAnnotatedFields(Class<?> clazz)
          Find the first field in the class annotated with the Managed annotation.
 Class<? extends ScenarioSteps> getFieldClass()
           
 void setValue(Object testCase, ScenarioSteps steps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepsAnnotatedField

protected StepsAnnotatedField(Field field)
Method Detail

findMandatoryAnnotatedFields

public static List<StepsAnnotatedField> findMandatoryAnnotatedFields(Class<?> clazz)
Find the first field in the class annotated with the Managed annotation.


findOptionalAnnotatedFields

public static List<StepsAnnotatedField> findOptionalAnnotatedFields(Class<?> clazz)
Find the first field in the class annotated with the Managed annotation.


setValue

public void setValue(Object testCase,
                     ScenarioSteps steps)

getFieldClass

public Class<? extends ScenarioSteps> getFieldClass()


Copyright © 2011 Wakaleo Consulting. All Rights Reserved.