public class StepsAnnotatedField extends Object
Modifier | Constructor and Description |
---|---|
protected |
StepsAnnotatedField(Field field) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
actor() |
void |
assignActorNameIn(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<?> |
getFieldClass() |
String |
getFieldName() |
boolean |
isInstantiated(Object testCase) |
boolean |
isSharedInstance() |
boolean |
isUniqueInstance() |
protected FieldSetter |
set(Object targetObject) |
void |
setValue(Object field,
Object value) |
protected StepsAnnotatedField(Field field)
public String getFieldName()
public static List<StepsAnnotatedField> findMandatoryAnnotatedFields(Class<?> clazz)
public static List<StepsAnnotatedField> findOptionalAnnotatedFields(Class<?> clazz)
protected FieldSetter set(Object targetObject)
public boolean isInstantiated(Object testCase)
public Class<?> getFieldClass()
public boolean isSharedInstance()
public boolean isUniqueInstance()
public void assignActorNameIn(Object steps)
Copyright © 2023. All rights reserved.