net.thucydides.core.steps
Class StepsAnnotatedField
java.lang.Object
net.thucydides.core.steps.StepsAnnotatedField
public class StepsAnnotatedField
- extends Object
Used to identify Step library fields that need to be instantiated.
- Author:
- johnsmart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepsAnnotatedField
protected StepsAnnotatedField(Field field)
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 fields in the class annotated with the Step annotation.
set
protected FieldSetter set(Object targetObject)
setValue
public void setValue(Object testCase,
Object steps)
isInstantiated
public boolean isInstantiated(Object testCase)
getFieldClass
public Class<?> getFieldClass()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.