Package com.tngtech.jgiven.report.model
Class StepFormatter.AnnotationBasedFormatter
java.lang.Object
com.tngtech.jgiven.report.model.StepFormatter.AnnotationBasedFormatter
- All Implemented Interfaces:
ArgumentFormatter
- Enclosing class:
- StepFormatter
public static class StepFormatter.AnnotationBasedFormatter
extends Object
implements ArgumentFormatter
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationBasedFormatter
(AnnotationArgumentFormatter formatter, Annotation annotation) -
Method Summary
-
Constructor Details
-
AnnotationBasedFormatter
-
-
Method Details
-
format
Description copied from interface:ArgumentFormatter
Format a single argument by taking optional formatter arguments into account.- Specified by:
format
in interfaceArgumentFormatter
- Parameters:
argumentToFormat
- the object to formatformatterArguments
- optional arguments for the formatter to control the formatting.- Returns:
- a formatted string
-