Class Java8ParameterInfo

java.lang.Object
io.cucumber.java8.Java8ParameterInfo
All Implemented Interfaces:
ParameterInfo

final class Java8ParameterInfo extends Object implements ParameterInfo
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public Type getType()
      Description copied from interface: ParameterInfo
      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.

      Specified by:
      getType in interface ParameterInfo
      Returns:
      the type of this parameter.
    • isTransposed

      public boolean isTransposed()
      Description copied from interface: ParameterInfo
      True if the data table should be transposed.
      Specified by:
      isTransposed in interface ParameterInfo
      Returns:
      true iff the data table should be transposed.
    • getTypeResolver

      public TypeResolver getTypeResolver()
      Description copied from interface: ParameterInfo
      Returns a type resolver. The type provided by this resolver is used to convert data table and doc string arguments to a java object.
      Specified by:
      getTypeResolver in interface ParameterInfo
      Returns:
      a type resolver