Package | Description |
---|---|
org.jbehave.core.steps |
Modifier and Type | Class and Description |
---|---|
static class |
ParameterConverters.BooleanConverter |
static class |
ParameterConverters.BooleanListConverter |
static class |
ParameterConverters.DateConverter
Parses value to a
Date using an injectable DateFormat
(defaults to new SimpleDateFormat("dd/MM/yyyy")) |
static class |
ParameterConverters.EnumConverter
Parses value to any
Enum |
static class |
ParameterConverters.EnumListConverter
Parses value to list of the same
Enum , using an injectable value
separator (defaults to ",") and trimming each element of the list. |
static class |
ParameterConverters.ExamplesTableConverter
Converts value to
ExamplesTable using a
ExamplesTableFactory . |
static class |
ParameterConverters.ExamplesTableParametersConverter
Converts ExamplesTable to list of parameters, mapped to annotated custom
types.
|
static class |
ParameterConverters.MethodReturningConverter
Invokes method on instance to return value.
|
static class |
ParameterConverters.NumberConverter
Converts values to numbers, supporting any subclass of
Number
(including generic Number type), and it unboxed counterpart, using a
NumberFormat to parse to a Number and to convert it to a
specific number type:
Byte, byte: Number.byteValue()
Short, short: Number.shortValue()
Integer, int: Number.intValue()
Float, float: Number.floatValue()
Long, long: Number.longValue()
Double, double: Number.doubleValue()
BigInteger: BigInteger#valueOf(Long)
BigDecimal: BigDecimal#valueOf(Double)
If no number format is provided, it defaults to
NumberFormat#getInstance(Locale.ENGLISH) . |
static class |
ParameterConverters.NumberListConverter
Converts value to list of numbers.
|
static class |
ParameterConverters.StringListConverter
Converts value to list of String.
|
Modifier and Type | Method and Description |
---|---|
protected ParameterConverters.ParameterConverter[] |
ParameterConverters.defaultConverters(java.util.Locale locale,
java.lang.String listSeparator) |
Modifier and Type | Method and Description |
---|---|
ParameterConverters |
ParameterConverters.addConverters(ParameterConverters.ParameterConverter... converters) |
ParameterConverters |
ParameterConverters.newInstanceAdding(ParameterConverters.ParameterConverter converter) |
Modifier and Type | Method and Description |
---|---|
ParameterConverters |
ParameterConverters.addConverters(java.util.List<ParameterConverters.ParameterConverter> converters) |
Copyright © 2003-2014. All Rights Reserved.