Package io.cucumber.cucumberexpressions
Class ParameterType.TransformerAdaptor<T>
java.lang.Object
io.cucumber.cucumberexpressions.ParameterType.TransformerAdaptor<T>
- All Implemented Interfaces:
CaptureGroupTransformer<T>
- Enclosing class:
ParameterType<T>
private static final class ParameterType.TransformerAdaptor<T>
extends Object
implements CaptureGroupTransformer<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
transformer
-
-
Constructor Details
-
TransformerAdaptor
-
-
Method Details
-
transform
Description copied from interface:CaptureGroupTransformerTransforms multiple strings into to an object. The strings are taken from the capture groups in the regular expressions in order. Nested capture groups are ignored. If a capture group is optional the corresponding element in the array may be null.- Specified by:
transformin interfaceCaptureGroupTransformer<T>- Parameters:
args- the values of the top level capture groups- Returns:
- the transformed object
- Throws:
Throwable- if transformation failed
-