Class MethodInfoEntity

java.lang.Object
de.qytera.qtaf.core.events.payload.MethodInfoEntity

public class MethodInfoEntity extends Object
Entity class for test scenario methods.
  • Constructor Details

    • MethodInfoEntity

      public MethodInfoEntity(Method method, Class<?>[] methodParamTypes, Object[] methodParamValues, Annotation[] annotations)
      Constructor.
      Parameters:
      method - Method object of the test scenario
      methodParamTypes - Types of the scenario parameters
      methodParamValues - Values of the scenario parameters
      annotations - Annotations of the scenario method
  • Method Details

    • getMethod

      public Method getMethod()
      Get method.
      Returns:
      method
    • setMethod

      public MethodInfoEntity setMethod(Method method)
      Set method.
      Parameters:
      method - Method
      Returns:
      this
    • getMethodParamTypes

      public Class<?>[] getMethodParamTypes()
      Get methodParamTypes.
      Returns:
      methodParamTypes
    • setMethodParamTypes

      public MethodInfoEntity setMethodParamTypes(Class<?>[] methodParamTypes)
      Set methodParamTypes.
      Parameters:
      methodParamTypes - MethodParamTypes
      Returns:
      this
    • getMethodParamValues

      public Object[] getMethodParamValues()
      Get methodParamValues.
      Returns:
      methodParamValues
    • setMethodParamValues

      public MethodInfoEntity setMethodParamValues(Object[] methodParamValues)
      Set methodParamValues.
      Parameters:
      methodParamValues - MethodParamValues
      Returns:
      this
    • getAnnotations

      public Annotation[] getAnnotations()
      Get annotations.
      Returns:
      annotations
    • setAnnotations

      public MethodInfoEntity setAnnotations(Annotation[] annotations)
      Set annotations.
      Parameters:
      annotations - Annotations
      Returns:
      this