Class AnnotationLoader

java.lang.Object
org.probato.loader.AnnotationLoader

public class AnnotationLoader extends Object
  • Method Details

    • isIgnore

      public static boolean isIgnore(Class<?> clazz)
    • isIgnore

      public static boolean isIgnore(Method method)
    • isIgnore

      public static boolean isIgnore(Field field)
    • isDisabled

      public static boolean isDisabled(Field field)
    • getDisabled

      public static Optional<Disabled> getDisabled(Field field)
    • getDisabledMotive

      public static String getDisabledMotive(Field field)
    • isTestCase

      public static boolean isTestCase(Field field)
    • hasSql

      public static boolean hasSql(Class<?> clazz)
    • getTestsCase

      public static Stream<Class<?>> getTestsCase(Class<?> clazz)
    • getTestCaseField

      public static List<Field> getTestCaseField(Class<?> clazz)
    • getSuite

      public static Optional<Suite> getSuite(Class<?> clazz)
    • getScript

      public static Optional<Script> getScript(Class<?> clazz)
    • getPreconditions

      public static List<Class<?>> getPreconditions(Class<?> clazz)
    • getPreconditionsMethod

      public static List<Method> getPreconditionsMethod(Class<?> clazz)
    • getProcedures

      public static List<Class<?>> getProcedures(Class<?> clazz)
    • getProceduresMethod

      public static List<Method> getProceduresMethod(Class<?> clazz)
    • getPostconditions

      public static List<Class<?>> getPostconditions(Class<?> clazz)
    • getPostconditionsMethod

      public static List<Method> getPostconditionsMethod(Class<?> clazz)
    • isPrecondition

      public static boolean isPrecondition(Field field)
    • isPrecondition

      public static boolean isPrecondition(Method method)
    • isProcedure

      public static boolean isProcedure(Field field)
    • isProcedure

      public static boolean isProcedure(Method method)
    • isPostcondition

      public static boolean isPostcondition(Field field)
    • isPostcondition

      public static boolean isPostcondition(Method method)
    • hasDataset

      public static boolean hasDataset(Class<?> clazz)
    • getDataset

      public static Optional<Dataset> getDataset(Class<?> clazz)
    • getRunMethod

      public static Method getRunMethod(Class<?> procedureClazz)
    • getActionMethods

      public static List<Method> getActionMethods(Class<?> pageObjectClazz)
    • getActionValue

      public static String getActionValue(Method method)
    • getPagesObject

      public static List<Field> getPagesObject(Class<?> clazz)
    • getProceduresScript

      public static List<Object> getProceduresScript(Class<?> scriptClazz, Class<? extends Annotation> procedureClazz)
    • getPages

      public static List<Field> getPages(Class<?> scriptClazz)
    • getSqlPaths

      public static Map<String,List<String>> getSqlPaths(Class<?> clazz)