Package net.thucydides.core.steps
Class StepsAnnotatedField
java.lang.Object
net.thucydides.core.steps.StepsAnnotatedField
Used to identify Step library fields that need to be instantiated.
- Author:
- johnsmart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactor()voidassignActorNameIn(Object steps) 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 fields in the class annotated with the Step annotation.Class<?>booleanisInstantiated(Object testCase) booleanbooleanprotected FieldSettervoid
-
Constructor Details
-
StepsAnnotatedField
-
-
Method Details
-
getFieldName
-
findMandatoryAnnotatedFields
Find the first field in the class annotated with the Managed annotation. -
findOptionalAnnotatedFields
Find the fields in the class annotated with the Step annotation. -
set
-
setValue
-
isInstantiated
-
getFieldClass
-
isUniqueInstance
public boolean isUniqueInstance() -
actor
-
assignActorNameIn
-