Package io.cucumber.core.backend
Interface ParameterInfo
-
@API(status=STABLE) public interface ParameterInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
getType()
Returns the type of this parameter.TypeResolver
getTypeResolver()
Returns a type resolver.boolean
isTransposed()
True if the data table should be transposed.
-
-
-
Method Detail
-
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 returnObject.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
-
-