Interface ParameterInfo


@API(status=STABLE) public interface ParameterInfo
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type of this parameter.
    Returns a type resolver.
    boolean
    True if the data table should be transposed.
  • Method Details

    • getType

      Type getType()
      Returns the type of this parameter. This type is used to provide a hint to cucumber expressions to resolve anonymous parameter types.

      Should always return the same value as TypeResolver.resolve() but may not throw any exceptions. May return Object.class when no information is available.

      Returns:
      the type of this parameter.
    • isTransposed

      boolean isTransposed()
      True if the data table should be transposed.
      Returns:
      true iff the data table should be transposed.
    • getTypeResolver

      TypeResolver getTypeResolver()
      Returns a type resolver. The type provided by this resolver is used to convert data table and doc string arguments to a java object.
      Returns:
      a type resolver