Class StepsAnnotatedField


  • public class StepsAnnotatedField
    extends Object
    Used to identify Step library fields that need to be instantiated.
    Author:
    johnsmart
    • Constructor Detail

      • StepsAnnotatedField

        protected StepsAnnotatedField​(Field field)
    • Method Detail

      • getFieldName

        public String getFieldName()
      • 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.
      • setValue

        public void setValue​(Object field,
                             Object value)
      • isInstantiated

        public boolean isInstantiated​(Object testCase)
      • getFieldClass

        public Class<?> getFieldClass()
      • isSharedInstance

        public boolean isSharedInstance()
      • isUniqueInstance

        public boolean isUniqueInstance()
      • assignActorNameIn

        public void assignActorNameIn​(Object steps)